maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Updated: (MAVEN-1525) ant tasknames and ant output gets out of sync
Date Mon, 06 Dec 2004 17:59:22 GMT
The following issue has been updated:

    Updater: Trygve Laugstol (mailto:trygvis@codehaus.org)
       Date: Mon, 6 Dec 2004 12:58 PM
    Changes:
             summary changed from ant tasknames and ant output doesninside <threads:>
to ant tasknames and ant output gets out of sync
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1525?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1525

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1525
    Summary: ant tasknames and ant output gets out of sync
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             jelly/ant integration
   Versions:
             1.0.1

   Assignee: 
   Reporter: Matthias Kerkhoff

    Created: Mon, 6 Dec 2004 4:31 AM
    Updated: Mon, 6 Dec 2004 12:58 PM
Environment: Windows

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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


Mime
View raw message