You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Scott Hebert (JIRA)" <ji...@apache.org> on 2008/10/23 15:48:44 UTC

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

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


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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772766#action_12772766 ] 

Maarten Coene commented on IVY-956:
-----------------------------------

It is possible that this issue has been fixed by a change made for IVY-1115. Could you give it a try?

Maarten

> 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;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.


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

Posted by "Michael Fraenkel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778707#action_12778707 ] 

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

Just tried 2.2.0.20091116231910.jar and that worked.
I guess its fixed.  Not sure what I did wrong the first time.

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642465#action_12642465 ] 

Scott Hebert commented on IVY-956:
----------------------------------

Hi Maarten,

Thanks for the fix...it works as is...but...

if we swap the order of the dependencies in the ivy.xml from 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}

to this:

{code:xml}
 <dependencies>
  <dependency org="CAE-VSK" name="VSK-FC" rev="[0.50.0.0,0.55.0.0]" transitive="false" force="true" conf="BuildTimeDependencies-&gt;*">
  </dependency>
  <dependency org="CAE-VSK" name="VSK-FC" rev="0.53.0.1" transitive="false" force="true" conf="BuildTimeDependencies-&gt;*" policydependency="true">
  </dependency>
 </dependencies>
{code}

I still get a hang...

Thanks,

Scott

> 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;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.


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

Posted by "Michael Fraenkel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747208#action_12747208 ] 

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

I too am hitting the infinite loop.

I have an app and two dependencies (dep1 and dep2).
app depends on dep1 rev=[1.0.0, 1.1.0[ and dep2 rev=1.0.0
dep2 depends on dep1 rev=[1.1.0, 1.2.0[

The theory is that this would fail.  If I use the latest conflict manager, the resolve succeeds with the wrong revision.
I switched to the latest compatible manager which just loops.  Like shown above, it blacklists one of the dynamic revisions, and then restarts the resolve.  However, none of the evictions/blacklists are looked at so I end up resolving the same sets of revisions.

> 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;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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642337#action_12642337 ] 

Maarten Coene commented on IVY-956:
-----------------------------------

The problem is even worse in current SVN trunk: both your tests gets into an infinite loop.
I've tried to commit a fix into SVN trunk, could you please give it a try and post your feedback quickly so I can add it to RC2 tomorrow.

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643645#action_12643645 ] 

Scott Hebert commented on IVY-956:
----------------------------------

Just wondering if there has been any progress on this?

Thanks,

Scott

> 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;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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643671#action_12643671 ] 

Maarten Coene commented on IVY-956:
-----------------------------------

No sorry, I had been too busy with creating the RC2 release.
But I think it would be best that Xavier takes a look at this, because I must admit I don't know that peace of Ivy good enough to see how to fix it.

> 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;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.


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

Posted by "Michael Fraenkel (JIRA)" <ji...@apache.org>.
    [ 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;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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778633#action_12778633 ] 

Maarten Coene commented on IVY-956:
-----------------------------------

Michael,

I couldn't reproduce your problem, I receive an error (as expected) when I try an example similar to yours. Did you try with current trunk version, or did you test 2.1.0 ?
Could you also provide more details (ivy.xml, console log, ...) or a test case?

Maarten

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642194#action_12642194 ] 

Scott Hebert commented on IVY-956:
----------------------------------

As well, it is important to note that if I remove the Extra Attribs from the Dependencies' IVY files, the resolve *succeeds*...

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Hebert updated IVY-956:
-----------------------------

    Attachment: extra-att-multipledependencies.zip

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643964#action_12643964 ] 

Scott Hebert commented on IVY-956:
----------------------------------

Hey Maarten,

No worries... :> You guys rock!

Should I post this on the mailing list? Or does receive these JIRA notifications?

Thanks,

Scott

> 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;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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-956.
-------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

ok, I'll mark is as fixed then.
Please reopen if you encounter the problem again.

Maarten

> 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: trunk
>
>         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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745069#action_12745069 ] 

Scott Hebert commented on IVY-956:
----------------------------------

Hi Guys,

Any news on this issue?

Thanks

Scott

> 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;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.


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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Michael Fraenkel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773120#action_12773120 ] 

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

Good news is that it doesn't loop anymore.
But in my case, all my test cases fail just the same with the wrong revision selected, or a conflict not detected.
I am looking further to see where it went wrong.

> 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;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.


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

Posted by "Scott Hebert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642469#action_12642469 ] 

Scott Hebert commented on IVY-956:
----------------------------------

I also testing the above swap in SVN trunk and it still hangs....

Scott


> 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;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.