Yes, Ivy retrieve C2 asked by A, reject C1 asked by B, but retrieve C1 asked by D.
And in do not understand why there is no conflict between C2 asked by A and C1 asked by D (I suppose this is a non direct dependencies ...) I send you files ASAP 2007/4/6, Xavier Hanin <[EMAIL PROTECTED]>:
On 4/6/07, Saloucious Crumb <[EMAIL PROTECTED]> wrote: > > Hi, > > I've just discovered Ivy and have to use it on my projects. > > Actually i have a problem with conflicts dependencies. > > Indeed, i've got a module A which depends on B and C (revision=2). > > B depends on C (revision=1) and D > > D depends on C (revision=1) > > Ivy detects a conflict between A and B (about C revision) -> OK, it takes > revision 2 > > But ivy do not detect conflict between B and D (about C revision) -> Ivy > retrieves C revision 1 > > So, in my libs directory, i have C revisions 1 and 2 -> NOK > > I've you got an idea ? I'm not sure to get the picture correctly. There is no conflict between B and D, since both depend on C 1. The conflict occurs in A, between C1 asked by B, and C2 asked by A. In this case Ivy should select C2. But you seem to say it's the case, so I don't see when you finally get the two versions in your libs directory... So to be sure we can help you, could you provide your A, B, C and D ivy files, the ant tasks you call, and the result? - Xavier -- Learn Ivy at ApacheCon: http://www.eu.apachecon.com/ Manage your dependencies with Ivy! http://incubator.apache.org/ivy/
