ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mochel" <>
Subject RE: ivy:configure loading configuration as a resource from the classpath
Date Wed, 28 Feb 2007 22:18:30 GMT


You should be able to use the ANT zip to extract the ivy-conf.xml and
place it in a known place. Put it into a macrodef and you have a handy
piece of code.



-----Original Message-----
From: Xavier Hanin [] 
Sent: Wednesday, February 28, 2007 9:41 AM
Subject: Re: ivy:configure loading configuration as a resource from the

On 2/28/07, Piyush Purang <> wrote:
> Hi,
> I am trying to integrate ivy, as our dependency manager, into our
> processes. I wanted to know if there is a possibility to configure
i.e. use
> ivy:configure ant task and pass it a resource eg,
> conf.xml which is part of a jar file on the classpath (like one can do
> ant:property task). This way we can deliver configration in a jar
> Note: I don't want to use JAR URL scheme as we don't know by which
> (incl versions etc) and where (location on the FS) the jar might be.
> Is that possible out of the box?
Unfortunately not.
> If not has anyone written such an ant task?
Not me :-)
> How easy would that be?
I don't really know, but it shouldn't be too complex to mimic what is
done in other ant tasks. If you use ant 1.7 maybe you could even use
the new Resource concept to configure with (almost) whatever you want.
> Maybe it is already a part of the nightly builds?

- Xavier
> Thanks.
> Cheers
> Piyush Purang

View raw message