buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Janmyr <>
Subject Download dependency
Date Tue, 16 Feb 2010 17:45:04 GMT

I have an artifact that is constructed from a zip-file, like this

  google_zip = download "target/" =>
  google_jar = file("target/zip/google-collect-1.0/google-collect-1.0.jar"
=> unzip('target/zip'=>google_zip))
  google_artifact = artifact('google:google-collect:jar:1.0').from(google_jar)

  define 'core' do
    compile.with 'commons-lang:commons-lang:jar:2.4', google_artifact
    package :jar

If I build once and then clean and build againm the zip-file is
downloaded again, even though
the artifact is already in the repository. This seems wrong to me. Am
I doing something wrong?

And by the way, I'm giving a presentation on Buildr in Stockholm,
Sweden next week since I think
Buildr is so good :) (In Swedish)



View raw message