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

Payam Hekmat edited comment on IVY-1233 at 11/3/10 10:36 PM:
-------------------------------------------------------------

It's against trunk, but it looks like mine was out of sync. There were no 
changes to LatestCompatibleConflictManager since that rev, so the changes 
should apply cleanly to the latest in SVN. The test patch is easy enough to 
apply manually since the only conflict seems to be on the method added to 
ResolveTest, but I'll sync and test again tonight just to be safe. 

edit: Just tested against the latest in trunk and all seems fine; no previously 
passing tests are failing. 

      was (Author: payam.hekmat):
    It's against trunk, but it looks like mine was out of sync. There were no 
changes to LatestCompatibleConflictManager since that rev, so the changes 
should apply cleanly to the latest in SVN. The test patch is easy enough to 
apply manually since the only conflict seems to be on the method added to 
ResolveTest, but I'll sync and test again tonight just to be safe. 
  
> 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