[
https://issues.apache.org/jira/browse/IVY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Coene resolved IVY-1233.
--------------------------------
Resolution: Fixed
Fix Version/s: trunk
Assignee: Maarten Coene
I've applied the patch to SVN trunk which should fix this problem with
latest-compatible conflictmanager when using dynamic revisions.
Thanks for the contribution!
> 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
> Assignee: Maarten Coene
> Fix For: trunk
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira