ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <>
Subject Re: ivy:configure loading configuration as a resource from the classpath
Date Wed, 28 Feb 2007 14:41:03 GMT
On 2/28/07, Piyush Purang <> wrote:
> Hi,
> I am trying to integrate ivy, as our dependency manager, into our build
> 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, com/xyz/abcd/ivy/ivy-
> conf.xml which is part of a jar file on the classpath (like one can do for
> ant:property task). This way we can deliver configration in a jar file.
> Note: I don't want to use JAR URL scheme as we don't know by which name
> (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