On 2/28/07, Piyush Purang <[EMAIL PROTECTED]> 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?
Nope.
- Xavier
Thanks.
Cheers
Piyush Purang