From: Jing Xue [mailto:[EMAIL PROTECTED] Sent: E 09.04.2007 17:29 To: [email protected] Subject: Re: Get exact revision for exact library
>> I'm sorry, if it is simple, but I couldn't find the answer on it. >> Situation is that I have some modules that depends on C rev="2", but >> I need to get C rev="1". >> So I just add into ivy.xml dependency for C rev="1". As I >> understand, there is a conflict, so >> by default Ivy takes latest-revision. How can I configure conflicts, >> so that if there is a conflict >> between C rev="ANY" and C rev="1", Ivy takes C rev="1"? > >Hi Anton, > >I'm fairly new to ivy, so just a couple of thoughts: you can probably >either exclude C rev.2 in the other dependency, or use a force >attribute on the C rev.1 dependency. There is also some conflict >manager types that can be configured to resolve conflicts the way you >wanted - which is probably a universal solution but can be an overkill >depending on your situation. > >HTH. >-- >Jing Xue Well, I thought about all of these solutions. Excluding is very annoying here. Project is big. It is not comfortable. Force attribute didn't help, I tried it. I thought there is some good and pretty solution with conflict management... ---------------------------------------- Anton Stalnuhhin [5248202] [EMAIL PROTECTED]
