DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42924>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42924 Summary: Sequential/WaitFor Missing taskFinished Event on Failure Product: Ant Version: 1.7.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] It appears that the <sequential> and <waitfor> tasks do not fire the task finished event when there is a failure in another sequential task within the same parallel task. Here is a target that will produce the problem. <target name="fail_while_wait" if="fail"> <parallel failonany="true"> <sequential> <fail message="fail_while_wait failing while waiting"/> </sequential> <sequential> <waitfor maxwait="10" maxwaitunit="second" checkevery="5" checkeveryunit="second"> <available file="non-existent-file"/> </waitfor> </sequential> </parallel> </target> Here is the output of our custom xml logger. <target name="fail_while_wait"> <task name="parallel"> <task name="sequential" thread="Thread-2"> <task name="fail" thread="Thread-2"> </task> </task> <task name="sequential" thread="Thread-3"> <task name="waitfor" thread="Thread-3"> </task> </target> <stacktrace exception=" ParallelLogTest.xml:69: fail_while_wait failing while waiting"> + -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]