Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0-RC1
-
None
-
None
-
Windows XP
Java 6
Description
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:
<info organisation="CAE-VSK" module="VSK-FC" revision="0.54.0.0" status="Development" publication="20081016173017" buddies="" approver="Somebody">
If the ivy.xml that I would like to resolve contains this:
<dependencies> <dependency org="CAE-VSK" name="VSK-FC" rev="0.53.0.1" transitive="false" force="true" conf="BuildTimeDependencies->*" 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->*"> </dependency> </dependencies>
then the ResolveEngine gets into an infinite loop with this being displayed over and over again:
[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]
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
Attachments
Attachments
Issue Links
- is related to
-
IVY-1115 ResolveEngine.getDependencies does not work using extra attributes.
- Resolved