You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/02/23 20:41:21 UTC

DO NOT REPLY [Bug 50507] Exec task may mix the stderr and stdout output while logging it

https://issues.apache.org/bugzilla/show_bug.cgi?id=50507

Jesse Glick <jg...@netbeans.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@netbeans.org

--- Comment #9 from Jesse Glick <jg...@netbeans.org> 2012-02-23 19:41:21 UTC ---
This test fails in trunk using JDK 5u22 or 6u31 or 7u3 on Ubuntu:

src/etc/testcases/taskdefs/exec/exec.xml:60: output indicates a mixup of out
and err
    at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164)
...
    at
org.apache.tools.ant.taskdefs.ExecTaskTest.testOutAndErr(ExecTaskTest.java:108)

Sometimes it passes, but usually it fails. I made the test better report the
failure, showing the following output:

doit:
blabla:
blabla:
     [exec] some blablablablablablablablablablablabla info message outsome
blablablablablablablablablablablabla error message err
     [exec] 
     [exec] some blablablablablablablablablablablabla info message outsome
blablablablablablablablablablablabla error message err
     [exec] 
blabla:
     [exec] some blablablablablablablablablablablabla error message errsome
blablablablablablablablablablablabla info message out
     [exec] 
blabla:
blabla:
blabla:
blabla:
     [exec] some blablablablablablablablablablablabla error message errsome
blablablablablablablablablablablabla info message out
     [exec] 
blabla:
blabla:
blabla:

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.