You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Steve Loughran (JIRA)" <ji...@codehaus.org> on 2006/01/23 00:57:06 UTC
[jira] Created: (MNG-2001) m2 tasks not reentrant
m2 tasks not reentrant
----------------------
Key: MNG-2001
URL: http://jira.codehaus.org/browse/MNG-2001
Project: Maven 2
Type: Bug
Versions: 2.0.2
Reporter: Steve Loughran
Recall that in ant it handles dependencies different on the command line for no rational reason other than history. So this command runs a target that uses m2:depends twice:
ant test-classpath test-classpath
This fails with an error the second time round, claiming that the dest path already exists
build.xml
init:
test-classpath:
unspecified:unspecified:jar:0.0 (selected)
jtidy:jtidy:jar:4aug2000r7-dev (selected)
junit:junit:jar:3.8.1 (selected)
cactus:cactus:jar:13-1.7.1 (selected)
cargo:cargo:jar:0.5 (selected)
cactus:cactus-ant:jar:13-1.7.1 (selected)
commons-logging:commons-logging:jar:1.0.4 (selected)
httpunit:httpunit:jar:1.6 (selected)
nekohtml:nekohtml:jar:0.9.1 (selected)
xerces:xerces:jar:2.4.0 (selected)
servletapi:servletapi:jar:2.3 (selected)
rhino:js:jar:1.5R4.1 (selected)
xerces:xmlParserAPIs:jar:2.2.1 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
aspectj:aspectjrt:jar:1.2.1 (selected)
commons-httpclient:commons-httpclient:jar:2.0.2 (selected)
commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4)
httpunit:httpunit:jar:1.6 (selected)
nekohtml:nekohtml:jar:0.9.1 (selected)
xerces:xerces:jar:2.4.0 (selected)
servletapi:servletapi:jar:2.3 (selected)
rhino:js:jar:1.5R4.1 (selected)
xerces:xmlParserAPIs:jar:2.2.1 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
init:
test-classpath:
unspecified:unspecified:jar:0.0 (selected)
jtidy:jtidy:jar:4aug2000r7-dev (selected)
junit:junit:jar:3.8.1 (selected)
cactus:cactus:jar:13-1.7.1 (selected)
cargo:cargo:jar:0.5 (selected)
cactus:cactus-ant:jar:13-1.7.1 (selected)
commons-logging:commons-logging:jar:1.0.4 (selected)
httpunit:httpunit:jar:1.6 (selected)
nekohtml:nekohtml:jar:0.9.1 (selected)
xerces:xerces:jar:2.4.0 (selected)
servletapi:servletapi:jar:2.3 (selected)
rhino:js:jar:1.5R4.1 (selected)
xerces:xmlParserAPIs:jar:2.2.1 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
aspectj:aspectjrt:jar:1.2.1 (selected)
commons-httpclient:commons-httpclient:jar:2.0.2 (selected)
commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4)
httpunit:httpunit:jar:1.6 (selected)
nekohtml:nekohtml:jar:0.9.1 (selected)
xerces:xerces:jar:2.4.0 (selected)
servletapi:servletapi:jar:2.3 (selected)
rhino:js:jar:1.5R4.1 (selected)
xerces:xmlParserAPIs:jar:2.2.1 (selected)
xerces:xercesImpl:jar:2.6.2 (selected)
[ext:libraries] An error has occurred while processing the Maven artifact tasks.[ext:libraries] Diagnosis:
[ext:libraries]
[ext:libraries] Reference ID test.compile.classpath already exists
Recommend: check for the output ID existing and skip the process with nothing more than a message. Its the Ant way :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org