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=diff&r1=743095&r2=743096&pathrev=743096
btw, did you already find the problem? Maarten ----- Original Message ---- From: "Buck, Robert" <[email protected]> To: [email protected] 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=" + status + " publication=" + publicationDate + " configurations=" + configurations + " artifacts=" + artifactsByConf + " dependencies=" + 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:[email protected]] Sent: Tuesday, February 10, 2009 3:47 PM To: [email protected] 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" <[email protected]> To: [email protected] 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=release publication=Sat Dec 06 16:48: 46 EST 2008 configurations={core=core, stax=stax, xpp3=xpp3, woodstox=woodstox} artifacts={} dependencies=[] in file:/D:/dev/rbuck/SANDBO~1/GENERAL/ivy/cache/do wnload/codehaus/xstream/ivy-1.3.1.xml.original [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
