On Wed, Mar 5, 2008 at 4:35 PM, Jim Adams <[EMAIL PROTECTED]> wrote: > Are you suggesting that the use of the dual resolver should be minimized > if you want the more efficient searching?
Sure, you should use dual only when necessary, ie when you know that artifacts can't be found by the same resolver as metadata. Xavier > > > > -----Original Message----- > > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 05, 2008 10:29 AM > > To: [email protected] > > Subject: Re: Error message when using different settings > > > > On Wed, Mar 5, 2008 at 3:35 PM, Jim Adams <[EMAIL PROTECTED]> wrote: > > > > > > > > > Something else I have noticed is that if I resolve a module it finds > the > > > MD on one resolver then looks through all the resolvers again to find > the > > > artifacts. That has never seemed correct to me and is certainly > inefficient. > > > If that behavior is desired then I think is should be a fallback > behavior. > > > Look for the artifacts in the exact same location before scanning all > the > > > resolvers again. > > > > Well, it doesn't really behave like this. It really depends on your > > settings. If you don't put your resolvers in a dual resolver or a chain > with > > dual=true, you should have Ivy look for the artifact in the same > resolver as > > the one which found the metadata. If it doesn't work like this, it's a > bug. > > > > Xavier > > > > > > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
