ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-1233) Infinite loop in latest-compatible conflict manager
Date Thu, 04 Nov 2010 13:51:41 GMT

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

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

I can't apply the patch:

{noformat}
[archie@Archie-Cobbss-MacBook-Pro.local] $ patch -p0 < ivy-1233.patch      
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/ivy/plugins/conflict/LatestCompatibleConflictManager.java
Hunk #1 FAILED at 188.
Hunk #2 FAILED at 215.
Hunk #3 FAILED at 262.
Hunk #4 FAILED at 274.
4 out of 4 hunks FAILED -- saving rejects to file src/java/org/apache/ivy/plugins/conflict/LatestCompatibleConflictManager.java.rej
{noformat}

I'm trying to apply it to this revision:

{noformat}
[archie@Archie-Cobbss-MacBook-Pro.local] $ svn info
Path: .
URL: https://svn.apache.org/repos/asf/ant/ivy/core/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1030980
Node Kind: directory
Schedule: normal
Last Changed Author: hibou
Last Changed Rev: 1030584
Last Changed Date: 2010-11-03 13:12:20 -0500 (Wed, 03 Nov 2010)      
{noformat}


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


Mime
View raw message