On Tue 2009-06-23 at 18:38h, Niklas Matthies wrote on ivy-user:
> 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.

Ok, I think I've been confused by the "dependencies" ant target.
Does it just retrieve the dependencies, or what is it supposed to do?

-- Niklas Matthies

Reply via email to