buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: How to add jars to classpath?
Date Mon, 14 Apr 2008 16:52:27 GMT
On Mon, Apr 14, 2008 at 5:39 AM, Pawel Stawicki <pawelstawicki@gmail.com>
wrote:

> Hi,
>
> I want to compile project which has some dependencies, but not
> maven-like ones. I just have some jar files on my disc and I want to add
> them to classpath. I tried something like
>
> compile.with file(<jar_path>)
>
> But it doesn't work. I get errors because of not satisfied dependencies.


compile.with <jar_path> will also work.  You can use either a filename or a
file task.

The only thing added to the classpath is that JAR, so maybe it's missing
some classes, or you need to add another dependency?

Assaf


>
>
> How to do this?
>
> Best regards
> Pawel Stawicki
>



-- 
CTO, Intalio
http://www.intalio.com

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