ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buck, Robert" <rb...@verisign.com>
Subject RE: Unresolved dependency error message makes no sense.
Date Tue, 10 Feb 2009 21:23:25 GMT
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: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" <rbuck@verisign.com>
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=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]           ::::::::::::::::::::::::::::::::::::::::::::::



      

Mime
View raw message