Hi, I'm using v1.4.1 Here is the files (i've refractored files).
Module A : http://www.nabble.com/file/7779/ivy.xml ivy.xml Module B : http://www.nabble.com/file/7780/B-ivy.xml B-ivy.xml Module D: http://www.nabble.com/file/7781/D-ivy.xml D-ivy.xml Module C Spring Framework (2.0.1 and 1.2.6) Behaviour ---> Ivy retrieves Spring 2.0.1 asked by A, Spring 1.2.6 asked by D and rejects Spring 1.2.6 asked by B I'm using a filesystem pattern : <filesystem name="libs"> <ivy pattern="${ivy.shared.default.root}/[organization]/[module]/[revision]/[module]-ivy.xml" /> <artifact pattern="${ivy.shared.default.root}/[organization]/[module]/[revision]/[type]s/[artifact].[ext]" /> </filesystem> Thanks Xavier Hanin wrote: > > On 4/6/07, Saloucious Crumb <[EMAIL PROTECTED]> wrote: >> >> 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 > > > Ok, and tell us also which version you are using. We have quite a lot of > unit tests concerning conflicts, but you may have run into a strange case. > > - Xavier > > 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/ >> > >> > > > > -- > Learn Ivy at ApacheCon: http://www.eu.apachecon.com/ > Manage your dependencies with Ivy! > http://incubator.apache.org/ivy/ > > -- View this message in context: http://www.nabble.com/Conflicts-Dependencies-tf3536838.html#a9917268 Sent from the ivy-user mailing list archive at Nabble.com.
