https://issues.apache.org/bugzilla/show_bug.cgi?id=55539
Stefan Bodewig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Fail task property status |parallel task hides fail |doesnt work properly |task's property status OS| |All --- Comment #1 from Stefan Bodewig <[email protected]> --- Hmm, this is on a Ubuntu box: stefan@birdy:~$ cat > /tmp/55539.xml <project default="test"> <target name="test"> <parallel threadCount="2" failonany="true"> <antcall target="test1" inheritAll="false" /> <antcall target="test2" inheritAll="false" /> </parallel> </target> <target name="test1"> <fail message="exit 4!" status="4" /> </target> <target name="test2"> <fail message="exit 5" status="5" /> </target> <target name="testok"> <fail message="exit 3" status="3" /> </target> </project> stefan@birdy:~$ ant -f /tmp/55539.xml test1 Buildfile: /tmp/55539.xml test1: BUILD FAILED /tmp/55539.xml:11: exit 4! Total time: 1 second stefan@birdy:~$ echo $? 4 stefan@birdy:~$ ant -f /tmp/55539.xml test2 Buildfile: /tmp/55539.xml test2: BUILD FAILED /tmp/55539.xml:14: exit 5 Total time: 0 seconds stefan@birdy:~$ echo $? 5 stefan@birdy:~$ ant -f /tmp/55539.xml testok Buildfile: /tmp/55539.xml testok: BUILD FAILED /tmp/55539.xml:19: exit 3 Total time: 0 seconds stefan@birdy:~$ echo $? 3 stefan@birdy:~$ ant -f /tmp/55539.xml test Buildfile: /tmp/55539.xml test: test2: test1: BUILD FAILED /tmp/55539.xml:5: The following error occurred while executing this line: /tmp/55539.xml:11: exit 4! Total time: 0 seconds stefan@birdy:~$ echo $? 1 so it is not the fail task but the parallel task causing the problem. -- You are receiving this mail because: You are the assignee for the bug.
