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

Archie Cobbs commented on IVY-1233:
-----------------------------------

OK, I had to manually strip the CR's from the file to get the patch to work.. 
must be a problem with the Mac OS version of the {{patch(1)}} command...

Now the infinite loop is gone and I get this instead, which is presumably 
expected:
{noformat}
BUILD FAILED
/Users/archie/IVYBUG/build.xml:16: impossible to resolve dependencies:
        org.apache.xerces#xerces;2.7+ (needed by []) conflicts with 
org.apache.xerces#xerces;2.9.1 (needed by [com.gargoylesoftware#htmlunit;2.7])
{noformat}

Thanks!


> 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