ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject RE: how to put the artifacts in ant classpath?
Date Mon, 05 Jan 2009 14:15:52 GMT
Is cachepath the preferred way to do this?  The docs seem to suggest

"Please prefer the use of retrieve + standard ant path creation, which
make your build more independent from ivy (once artifacts are properly
retrieved, ivy is not required any more)."

This almost sounds like it is deprecated, otherwise I would be using it

-----Original Message-----
From: Maarten Coene [] 
Sent: Thursday, January 01, 2009 5:58 AM
Subject: Re: how to put the artifacts in ant classpath?

What's your problem with ivy:cachepath? That is the preferred way to do

<ivy:cachepath pathid="my.classpath" ... /> <java
classpathref="my.classpath" ... />


----- Original Message ----
From: zyd08 <>
Sent: Wednesday, December 31, 2008 7:38:18 PM
Subject: how to put the artifacts in ant classpath?

I'm new to ivy and I'm stuck with a very presumably simple issue. I've
set ivy to retrieve all the artifacts (jars)  using the following


After all the jars are downloaded into the ivy cache directory, how am I
supposed to include them in the classpath in the ant java task? The jars
are each in their own sub-directories rather than put in a flat
directory. I've searched on the forum for this topic and it turned out
that I should make use of ivy:cachepath, but somehow it didn't quite
work for me. maybe I'm missing something important? Could anyone please
let show me the correct solution?

Thank you very much in advance!

View this message in context:
Sent from the ivy-user mailing list archive at


This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

View raw message