ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Stalnuhhin" <>
Subject RE: Get exact revision for exact library
Date Mon, 09 Apr 2007 15:12:07 GMT
From: Jing Xue []
Sent: E 09.04.2007 17:29
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.
>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]

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message