Hi Rob, I'm not sure that the shadowing is easy to deal with in pure Ivy (unless the vendor is providing Ivy files with nice configs or you write your own). You could look at latest strategies and conflict resolution
http://ant.apache.org/ivy/history/2.1.0-rc1/settings/latest-strategies.html http://ant.apache.org/ivy/history/2.1.0-rc1/settings/conflict-managers.html But if there are no configs available for you to work from then it may be simplest to deal with how you set up the classpath in ant with different pathelements? Cheers, Geoff On Thu, May 21, 2009 at 2:30 PM, rob08 <[email protected]> wrote: > > Hi all, > > I'm wondering if there's a way to specify that a certain dependency should > be higher or lower priority (order) in the resulting classpath. > > My problems is that the vendor I'm working with delivers patches in separate > jars. These jar contain classes that 'shadow' the standard class in the > standard jar. I therefore need the patch jars to be earlier in the > classpath, or else the old, buggy class will be executed by my JUnit tests. > > Also, some patches make previously private methods protected or public, etc. > which if course is a problem purely on a resolve basis. > > Any tips? > > Thanks, > > > -- > View this message in context: > http://www.nabble.com/sorting-or-ordering-of-resolved-jars-tp23646892p23646892.html > Sent from the ivy-user mailing list archive at Nabble.com. > >
