[ 
https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773156#action_12773156
 ] 

Michael Fraenkel commented on IVY-956:
--------------------------------------

My bad....

I forgot to re-enable the latest-compatible conflict manager.
It still loops forever.

> Latest Compatible Conflict Manager + Extra Attributes in Dependencies' IVY 
> files == inifinite loop
> --------------------------------------------------------------------------------------------------
>
>                 Key: IVY-956
>                 URL: https://issues.apache.org/jira/browse/IVY-956
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0-RC1
>         Environment: Windows XP
> Java 6
>            Reporter: Scott Hebert
>         Attachments: extra-att-multipledependencies.zip
>
>
> When using the Latest Compatible Conflict Manager with the resolution of 
> modules/revisions that contain extra attributes, you get into an infinite 
> loop.
> The dependencies on my repository contains this in their <info/> element:
> {code:xml}
> <info organisation="CAE-VSK" module="VSK-FC" revision="0.54.0.0" 
> status="Development" publication="20081016173017" buddies="" 
> approver="Somebody">
> {code}
> If the ivy.xml that I would like to resolve contains this:
> {code:xml}
>  <dependencies>
>   <dependency org="CAE-VSK" name="VSK-FC" rev="0.53.0.1" transitive="false" 
> force="true" conf="BuildTimeDependencies-&gt;*" policydependency="true">
>   </dependency>
>   <dependency org="CAE-VSK" name="VSK-FC" rev="[0.50.0.0,0.55.0.0]" 
> transitive="false" force="true" conf="BuildTimeDependencies-&gt;*">
>   </dependency>
>  </dependencies>
> {code}
> then the ResolveEngine gets into an infinite loop with this being displayed 
> over and over again:
> {noformat}
> [ivy:resolve]   found CAE-VSK#VSK-FC#MAIN;0.54.1.0 in attribs
> [ivy:resolve]   [0.54.1.0] CAE-VSK#VSK-FC#MAIN;[0.50.0.0,0.55.0.0]
> [ivy:resolve] BLACKLISTING [CAE-VSK#VSK-FC#MAIN;0.54.1.0 blacklisted to evict 
> CAE-VSK#VSK-FC#MAIN;0.54.1.0 in favor of CAE-VSK#VSK-FC#MAIN;0.53.0.1 in 
> CAE#TESTA#MAIN;work...@pc6346 for BuildTimeDependencies]
> {noformat}
> I'm going to attach 2 tests -- one that operates on a repository that 
> contains revs with NO attribs and one that operates on a repository that 
> contains revs WITH attribs.
> Thanks,
> Scott

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to