ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Matthies <>
Subject Re: inline resolve mode
Date Tue, 23 Jun 2009 16:38:53 GMT
On Tue 2009-06-23 at 11:18h, Shawn Castrianni wrote on ivy-user:
> I am trying to allow my users to experiment with dependencies.  I do
> have real ivy.xml files for all of my modules.  Right now, if my
> users want to experiment and change their dependencies of their
> module, they have to edit the dependencies section of the ivy.xml
> file.  That is fine, however, by changing the real ivy.xml file,
> they may accidentally commit this change to the SVN repo by mistake.
> Therefore, I would like to somehow give them a way to add
> dependencies to the ones already listed in the ivy.xml file through
> some ANT property or something.  Like:
> ant dependencies -DextraDependencies="A,B"
> my ant script could check if the extraDependencies property is set
> and then somehow tell ivy to add these two modules (A and B) to the
> list of dependencies found in the ivy.xml file

I don't understand how adding dependencies to the Ivy file using Ant
instead of manually will prevent the modified Ivy file to be committed.

-- Niklas Matthies

View raw message