ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buck, Robert" <>
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

... 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=" +
                + " 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.



-----Original Message-----
From: Maarten Coene [] 
Sent: Tuesday, February 10, 2009 3:47 PM
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


----- Original Message ----
From: "Buck, Robert" <>
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

>>> "'default' doesn't exist in module module"  <<<


[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
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::


View raw message