You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/16 07:15:34 UTC
[jira] Closed: (MAVEN-1525) ant tasknames and ant output gets out of sync
[ http://jira.codehaus.org/browse/MAVEN-1525?page=all ]
Brett Porter closed MAVEN-1525:
-------------------------------
Resolution: Won't Fix
changes to the ant tag library are now out of scope for Maven 1.x, esp. as this is a minor issue.
> ant tasknames and ant output gets out of sync
> ---------------------------------------------
>
> Key: MAVEN-1525
> URL: http://jira.codehaus.org/browse/MAVEN-1525
> Project: maven
> Type: Bug
> Components: jelly/ant integration
> Versions: 1.0.1
> Environment: Windows
> Reporter: Matthias Kerkhoff
> Attachments: maven.xml, output.txt, output.txt
>
>
> The following jelly script prints incorrect output:
> <threads:group var="threads">
> <threads:thread name="t1" newContext="true">
> <j:while test="${true}" >
> <ant:exec taskname="task-3 ###" executable="cmd.exe" ><arg line="/C echo task-3 #"/></ant:exec>
> </j:while>
> </threads:thread>
> <threads:thread name="t2" newContext="true">
> <j:while test="${true}" >
> <ant:exec taskname="task-2 ##" executable="cmd.exe" ><arg line="/C echo task-2 ##"/></ant:exec>
> </j:while>
> </threads:thread>
> <threads:thread name="t3" newContext="true">
> <j:while test="${true}" >
> <ant:exec taskname="task-1 #" executable="cmd.exe" ><arg line="/C echo task-1 ###"/></ant:exec>
> </j:while>
> </threads:thread>
> </threads:group>
> The output printed looks like this
> [task-2 ##] task-3 #
> [task-2 ##] task-1 ###
> [task-2 ##] task-2 ##
> [task-2 ##] task-1 ###
> [task-1 #] task-2 ##
> [task-2 ##] task-3 #
> [task-3 ###] task-2 ##
> [task-3 ###] task-1 ###
> [task-1 #] task-3 #
> [task-3 ###] task-2 ##
> [task-2 ##] task-1 ###
> [task-1 #] task-3 #
> [task-1 #] task-2 ##
> [task-2 ##] task-1 ###
> [task-2 ##] task-3 #
> The correct version would repeat each task name twice per line. As a visual clue I also added the #'s to the output. There should always be four '#' per line, so that the output for each task ends in the same column.
--
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