Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 42925 invoked from network); 2 Nov 2010 17:36:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Nov 2010 17:36:18 -0000 Received: (qmail 61165 invoked by uid 500); 2 Nov 2010 17:36:50 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 61113 invoked by uid 500); 2 Nov 2010 17:36:49 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 61106 invoked by uid 99); 2 Nov 2010 17:36:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 17:36:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 17:36:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA2HaPYr001159 for ; Tue, 2 Nov 2010 17:36:26 GMT Message-ID: <8345608.199851288719385603.JavaMail.jira@thor> Date: Tue, 2 Nov 2010 13:36:25 -0400 (EDT) From: "Payam Hekmat (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVY-1233) Infinite loop in latest-compatible conflict manager In-Reply-To: <21884247.420731285595013050.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Payam Hekmat updated IVY-1233: ------------------------------ Attachment: ivy-1233-test.patch ivy-1233.patch Can you try the attached patch (test patch included)? From what I could tell, the issue was in LatestCompatibleConflictManager when one of the conflicts was a pattern. > 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.