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
|