You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2010/05/07 22:12:50 UTC

[jira] Updated: (IVY-956) Latest Compatible Conflict Manager + Extra Attributes in Dependencies' IVY files == inifinite loop

     [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-956:
------------------------------

    Fix Version/s: 2.2.0-RC1
                       (was: trunk)

> 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
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
>
>         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;working@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.