My dependencies target just does a resolve and retrieve. --- Shawn Castrianni
-----Original Message----- From: Niklas Matthies [mailto:[email protected]] Sent: Tuesday, June 23, 2009 11:54 AM To: [email protected] Subject: Re: inline resolve mode 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 ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
