ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Zethelius (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-1233) Infinite loop in latest-compatible conflict manager
Date Fri, 26 Aug 2011 22:09:29 GMT

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

Sven Zethelius commented on IVY-1233:
-------------------------------------

Ran into this one with 2.2.0.  In a multi-layer deep dependency tree on log4j with a conflict,
using compatible-cm and latest-revision.  Even using force="true" on the log4j dependency
of com.expedia.e3.es.order.adaptor.loyalty-test still enters the infinite loop.

{code}
[ivy:resolve] BLACKLISTING [expedia#log4j;[1.2.16,1.3[ blacklisted to evict expedia#log4j;[1.2.16,1.3[
in favor of expedia#log4j;1.2.9 in expedia#com.expedia.e3.es.order.adaptor.loyalty-test;working@BELSVENZ06WD
for default]
[ivy:resolve] BLACKLISTING [expedia#log4j;[1.2.16,1.3[ blacklisted to evict expedia#log4j;[1.2.16,1.3[
in favor of expedia#log4j;1.2.9 in expedia#com.expedia.e3.es.order.adaptor.loyalty-test;working@BELSVENZ06WD
for default]
[ivy:resolve] BLACKLISTING [expedia#log4j;[1.2.16,1.3[ blacklisted to evict expedia#log4j;[1.2.16,1.3[
in favor of expedia#log4j;1.2.9 in expedia#com.expedia.e3.es.order.adaptor.loyalty-test;working@BELSVENZ06WD
for default]
[ivy:resolve] BLACKLISTING [expedia#log4j;[1.2.16,1.3[ blacklisted to evict expedia#log4j;[1.2.16,1.3[
in favor of expedia#log4j;1.2.9 in expedia#com.expedia.e3.es.order.adaptor.loyalty-test;working@BELSVENZ06WD
for default]
... repeat until process killed.
{code}

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message