You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "Buck, Robert" <rb...@verisign.com> on 2009/02/10 21:05:05 UTC
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] ::::::::::::::::::::::::::::::::::::::::::::::
Re: Unresolved dependency error message makes no sense.
Posted by Garima Bathla <ga...@gmail.com>.
It does makes sense
>From the error :
configurations={core=core, stax=stax, xpp3=xpp3, woodstox=woodstox}
You only have above configurations available but somewhere in some
dependency you are referring to default conf which does not exist.
On Tue, Feb 10, 2009 at 12:05 PM, Buck, Robert <rb...@verisign.com> wrote:
> 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] ::::::::::::::::::::::::::::::::::::::::::::::
>
RE: Unresolved dependency error message makes no sense.
Posted by "Buck, Robert" <rb...@verisign.com>.
Looks good.
-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
Sent: Wednesday, February 11, 2009 2:33 AM
To: ivy-user@ant.apache.org
Subject: Re: Unresolved dependency error message makes no sense.
ok, I think I found it and committed a new fix into SVN trunk.
Could you give it another try?
Maarten
----- Original Message ----
From: "Buck, Robert" <rb...@verisign.com>
To: ivy-user@ant.apache.org
Sent: Tuesday, February 10, 2009 11:54:46 PM
Subject: RE: Unresolved dependency error message makes no sense.
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.
-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
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=diff&r1=743095&
r2=743096&pathrev=743096
btw, did you already find the problem?
Maarten
----- Original Message ----
From: "Buck, Robert" <rb...@verisign.com>
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=" + 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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::
Re: Unresolved dependency error message makes no sense.
Posted by Maarten Coene <ma...@yahoo.com>.
ok, I think I found it and committed a new fix into SVN trunk.
Could you give it another try?
Maarten
----- Original Message ----
From: "Buck, Robert" <rb...@verisign.com>
To: ivy-user@ant.apache.org
Sent: Tuesday, February 10, 2009 11:54:46 PM
Subject: RE: Unresolved dependency error message makes no sense.
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.
-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
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=diff&r1=743095&
r2=743096&pathrev=743096
btw, did you already find the problem?
Maarten
----- Original Message ----
From: "Buck, Robert" <rb...@verisign.com>
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=" + 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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::
RE: Unresolved dependency error message makes no sense.
Posted by "Buck, Robert" <rb...@verisign.com>.
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.
-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
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=diff&r1=743095&
r2=743096&pathrev=743096
btw, did you already find the problem?
Maarten
----- Original Message ----
From: "Buck, Robert" <rb...@verisign.com>
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=" + 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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::
Re: Unresolved dependency error message makes no sense.
Posted by Maarten Coene <ma...@yahoo.com>.
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" <rb...@verisign.com>
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=" + 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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::
RE: Unresolved dependency error message makes no sense.
Posted by "Buck, Robert" <rb...@verisign.com>.
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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::
Re: Unresolved dependency error message makes no sense.
Posted by Maarten Coene <ma...@yahoo.com>.
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" <rb...@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] ::::::::::::::::::::::::::::::::::::::::::::::