buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon" <alexismi...@gmail.com>
Subject Re: How to add jars to classpath?
Date Mon, 14 Apr 2008 14:08:04 GMT
On Mon, Apr 14, 2008 at 6:54 AM, Pawel Stawicki <pawelstawicki@gmail.com>
wrote:

> Alexis Midon wrote:
> > you just have to use the artifact#from method:
> >
> > bean = artifact("example.com:beans:jar:1.0").from("/path/to/your/jar")
>
> Then I get error:
> Don't know how to build task
> '/home/amorfis/workspace/ncdc-libs/commons-lang/commons-lang-2.3.jar'
>

if the file does not exist at that path you may have to tell Buildr how to
build it. You may want to check this section of the doc:
http://incubator.apache.org/buildr/artifacts.html



>
> Besides, I don't think "example.com:beans:jar:1.0" is valid spec for all
> my jars.
>

is that what you're looking for?


>
> Best regards
> Pawel Stawicki
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message