On Thu, Mar 27, 2008 at 8:34 PM, Brown, Carlton < [EMAIL PROTECTED]> wrote:
> The publish and install tasks allow me to specify which resolver to use > for publishing (or installing). I don't see this capability for the > resolve task, however. Have I missed something? If it isn't possible > to specify a resolver for the resolve task, that means I have to rely on > defaultResolver in ivy-settings.xml ? Is there no way to control this > from within the Ant script, or must I maintain multiple copies of > ivy-settings.xml just to choose which resolver to use? You can either maintain multiple copies (which maybe only select the default resolver and include the same common settings file) or use a property to indicate which resolver is the default one. I think this is flexible enough so we don't have to add yet another option on resolve. WDYT? Xavier > > > > > ----------------------------------------- > ==================================================== > This message contains PRIVILEGED and CONFIDENTIAL > information that is intended only for use by the > named recipient. If you are not the named recipient, > any disclosure, dissemination, or action based on > the contents of this message is prohibited. In such > case please notify us and destroy and delete all > copies of this transmission. Thank you. > ==================================================== -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
