Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 49890 invoked from network); 17 Dec 2007 15:20:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2007 15:20:05 -0000 Received: (qmail 19038 invoked by uid 500); 17 Dec 2007 15:19:54 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 19015 invoked by uid 500); 17 Dec 2007 15:19:54 -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 19006 invoked by uid 99); 17 Dec 2007 15:19:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 07:19:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 15:19:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72AD471425D for ; Mon, 17 Dec 2007 07:19:43 -0800 (PST) Message-ID: <29172504.1197904783467.JavaMail.jira@brutus> Date: Mon, 17 Dec 2007 07:19:43 -0800 (PST) From: "Xavier Hanin (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-672) No error message is logged when a circular dependency is detected In-Reply-To: <3989608.1197903283301.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552438 ] Xavier Hanin commented on IVY-672: ---------------------------------- It's not a partial graph, it's the circular dependency, where the first module in the loop is put as ... at the end of the loop. But I agree the error message is not clear, besides the CircularDependencyException, there is no indication that this is a circular dependency error. Would adding "Circular Dependency: " before the circular dependency "graph" in the ERRORS summary be ok? > No error message is logged when a circular dependency is detected > ----------------------------------------------------------------- > > Key: IVY-672 > URL: https://issues.apache.org/jira/browse/IVY-672 > Project: Ivy > Issue Type: Bug > Affects Versions: 2.0.0-beta-1 > Reporter: Maarten Coene > > When I have a circular dependency, the resolve fails, but no nice error message is logged during the build, only a partial graph is logged: > {code} > Buildfile: build.xml > init: > prepare: > detect-classpath-init: > init-classpaths-with-ivy: > [ivy:info] :: Ivy 2.0.0-beta1 - 20071206070608 :: http://ant.apache.org/ivy/ :: > :: loading settings :: file = C:\working\repository\commons\lcm\ant_build\config > \ivy\ivysettings.xml > DEPRECATED: 'conf' is deprecated, use 'settings' instead (file:/C:/working/repos > itory/commons/lcm/ant_build/config/ivy/ivysettings.xml) > [ivy:resolve] :: resolving dependencies :: LCMB#fao;working@N51F2D5 > [ivy:resolve] confs: [default, client, impl, testapi, compile, client-compile, > test, runtest] > [ivy:resolve] [2.8.4] LCMT#commons;2.+ > [ivy:resolve] [1.3.1] LCMT#daohelper;1.+ > [ivy:resolve] [3.2.1] LCMT#parametermanager;3.+ > [ivy:resolve] [1.0.3] LCMB#sparadmwebservice;1.+ > [ivy:resolve] [1.2.0] LCMT#commons-webservice;1.+ > [ivy:resolve] [2.0.10] LCMT#openutm;2.+ > [ivy:resolve] [1.1.0] LCMT#profilemanager;1.+ > [ivy:resolve] [4.4.0] LCMT#logmanager;4.+ > [ivy:resolve] [3.4.0] LCMT#openutm;3.+ > [ivy:resolve] [4.3.1] LCMT#papyrus;4.+ > [ivy:resolve] [10.1.3.3] J2EE#ejb30;10.1.3.+ > [ivy:resolve] [10.1.3.3] J2EE#persistence;10.1.3.+ > [ivy:resolve] [10.1.3.3] J2EE#mail;10.1.3.+ > [ivy:resolve] [2.1.0] OTHER#commons-lang;2.+ > [ivy:resolve] [2.0.0] LCMT#commons-test;2.+ > [ivy:resolve] [10.1.3.3] J2EE#toplink-essentials;10.1.3.+ > [ivy:resolve] [10.1.3.3] J2EE#ejb;10.1.3.+ > [ivy:resolve] [10.1.3.3] J2EE#jta;10.1.3.+ > [ivy:resolve] [10.1.3.3] J2EE#jaxrpc-api;10.1.3.+ > [ivy:resolve] :: problems summary :: > [ivy:resolve] :::: ERRORS > [ivy:resolve] LCMT#commons;2.8.4->LCMB#sparadmwebservice;1.0.3->LCMT#parameter > manager;3.2.1->... > [ivy:resolve] > [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > BUILD FAILED > C:\working\repository\commons\lcm\ant_build\targets\common-targets-1.0.0.xml:390 > : impossible to resolve dependencies: > org.apache.ivy.plugins.circular.CircularDependencyException: LCMT#common > s;2.8.4->LCMB#sparadmwebservice;1.0.3->LCMT#parametermanager;3.2.1->... > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.