Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 16260 invoked from network); 10 Feb 2009 22:52:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 22:52:46 -0000 Received: (qmail 66223 invoked by uid 500); 10 Feb 2009 22:52:45 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 66194 invoked by uid 500); 10 Feb 2009 22:52:45 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 66183 invoked by uid 99); 10 Feb 2009 22:52:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 14:52:45 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rbuck@verisign.com designates 216.168.239.74 as permitted sender) Received: from [216.168.239.74] (HELO peregrine.verisign.com) (216.168.239.74) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 22:52:38 +0000 Received: from dul1wnexcn03.vcorp.ad.vrsn.com (dul1wnexcn03.vcorp.ad.vrsn.com [10.170.12.113]) by peregrine.verisign.com (8.13.6/8.13.4) with ESMTP id n1AMk1mu010083 for ; Tue, 10 Feb 2009 17:46:01 -0500 Received: from DUL1WNEXMB05.vcorp.ad.vrsn.com ([10.170.12.240]) by dul1wnexcn03.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Feb 2009 22:52:16 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Unresolved dependency error message makes no sense. Date: Tue, 10 Feb 2009 17:54:46 -0500 Message-ID: In-Reply-To: <165172.20434.qm@web30807.mail.mud.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unresolved dependency error message makes no sense. Thread-Index: AcmLx63ADSgwOZUsTG2r75TaT3FFZgACp3yw From: "Buck, Robert" To: X-OriginalArrivalTime: 10 Feb 2009 22:52:16.0966 (UTC) FILETIME=[38D53660:01C98BD2] X-Virus-Checked: Checked by ClamAV on apache.org Yes, I fixed the problem. A knuckled headed issue; cut and paste into the dependencies section had a reference to a 'default' config which did not exist. Yes, I just checked everything out and I did not see the correct change. I used Subversion LOGs and checked there too, doing a diff between the current and two versions back.=20 -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com]=20 Sent: Tuesday, February 10, 2009 4:36 PM To: ivy-user@ant.apache.org Subject: Re: Unresolved dependency error message makes no sense. It seems you still don't have the SVN trunk version: the double "module" should be gone and the error message should tell a bit more what is wrong. http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ core/module/descriptor/DefaultModuleDescriptor.java?view=3Ddiff&r1=3D7430= 95& r2=3D743096&pathrev=3D743096 btw, did you already find the problem? Maarten ----- Original Message ---- From: "Buck, Robert" To: ivy-user@ant.apache.org Sent: Tuesday, February 10, 2009 10:23:25 PM Subject: RE: Unresolved dependency error message makes no sense. Nope, didn't work -- what threw me for a loop was the double "module module". ... Was this telling me that somewhere I have a module name of "module" set, or was there some other configuration issue, or is this a defect in IVY. This was my confusion. So here is your code right now... if (!configurations.containsKey(conf)) { throw new IllegalArgumentException("Configuration '" + conf + "' doesn't exist in module " + this); } ... public String toString() { return "module: " + revId + " status=3D" + status + " publication=3D" + publicationDate + " configurations=3D" + configurations + " = artifacts=3D" + artifactsByConf + " dependencies=3D" + dependencies; } Note that with the way the code is written you get "module module" because both 'addArtifact' and 'toString' have the word because of (+ this). If you drop the word "module" from the string literal in the former it would read properly. Thanks Bob -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com] Sent: Tuesday, February 10, 2009 3:47 PM To: ivy-user@ant.apache.org Subject: Re: Unresolved dependency error message makes no sense. I've improved the error message in SVN trunk. Could you give it a try? Btw, your problem is caused because your xstream module defines an artifact in the default configuration, which doesn't exist in that module. regards, Maarten ----- Original Message ---- From: "Buck, Robert" To: ivy-user@ant.apache.org Sent: Tuesday, February 10, 2009 9:05:05 PM Subject: Unresolved dependency error message makes no sense. Is this what is desired? The error message here is not a proper sentence and makes no sense; it does not help me diagnose the issue. Could someone update the resource bundle text so that it has a proper english sentence? >>> "'default' doesn't exist in module module" <<< Thanks [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: codehaus#xstream;1.3.1: java.text.ParseException: Problem occured while parsing ivy file: Configuration 'default' doesn't exist in module module: codehaus#xstream;1.3.1 status=3Drelease publication=3DSat Dec 06 16:48: 46 EST 2008 configurations=3D{core=3Dcore, stax=3Dstax, xpp3=3Dxpp3, woodstox=3Dwoodstox} artifacts=3D{} dependencies=3D[] in file:/D:/dev/rbuck/SANDBO~1/GENERAL/ivy/cache/do wnload/codehaus/xstream/ivy-1.3.1.xml.original [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: =20