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

Payam Hekmat updated IVY-1233:
------------------------------

    Attachment: ivy-1233-test.patch
                ivy-1233.patch

Can you try the attached patch (test patch included)? From what I could tell, 
the issue was in LatestCompatibleConflictManager when one of the conflicts was 
a pattern. 

> Infinite loop in latest-compatible conflict manager
> ---------------------------------------------------
>
>                 Key: IVY-1233
>                 URL: https://issues.apache.org/jira/browse/IVY-1233
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.0-RC1
>            Reporter: Archie Cobbs
>         Attachments: ivy-1233-test.patch, ivy-1233.patch, ivybug.zip
>
>
> Attempting to resolve org="com.gargoylesoftware" name="htmlunit" rev="2.7" 
> from the Ivy RoundUp repository with the latest-compatible conflict manager 
> configured leads to an infinite loop:
> {noformat}
> $ ant
> Buildfile: build.xml
> clean:
> bug:
> [ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/ 
> ::
> [ivy:resolve] :: loading settings :: file = /Users/archie/IVYBUG/settings.xml
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to 
> evict org.apache.xerces#xerces;2.7+ in favor of 
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for 
> default]
> ...
> {noformat}
> See attached test case. To run it, unpack ZIP file, cd into IVYBUG, copy 
> {{ant-2.2.0-rc1.jar}} in the current directory and then run "ant".

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