buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl-Gustaf Harroch <charr...@gmail.com>
Subject Re: Downloading dependencies without POMs
Date Mon, 22 Feb 2010 16:36:15 GMT
Hi Ed,

To downlaod a jar directly I used the following:

DROIDFU = ["droidfu:droidfu:jar:1.0-SNAPSHOT"]
url = "http://cloud.github.com/downloads/kaeppler/droid-fu/droid-fu-1.0-SNAPSHOT.jar"
download(artifact("droidfu:droidfu:jar:1.0-SNAPSHOT") =>url)
compile.with DROIDFU

Hope it helps.

./C

On 22 February 2010 16:31, Ed Beaty <ebeaty@eragen.com> wrote:
> Hi.  I'm considering using buildr as an ant replacement.  We want to use our local
repository to store our jars, but we've never created POM's for any of them (nor do we want
to).  When I try to retrieve an artifact:
>
> repositories.remote << '<my repository>'
> artifact('lib:apache-ant:ant:1.7.0').install
>
> it fails with:
>
> Failed to download lib:apache-ant:pom:1.7.0, tried the following repositories:
> <my repository>
> <my buildfile>:2
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:398:in `raw_load_buildfile'
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:218:in `load_buildfile'
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:213:in `load_buildfile'
>
>
> Is there a way to convince buildr not to download POM's?  This seems like it would be
a useful option for people who aren't migrating from Maven to buildr.
>
> Thanks,
> Ed
>



-- 
Carl-Gustaf Harroch

Sent from Windsor, Eng, United Kingdom

Mime
View raw message