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=37312>. 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=37312 Summary: addError method of resultformatter is only called if usefile=true after timeout Product: Ant Version: 1.6.5 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] In the following piece of ant code a custom resultformatter element is used, since the default value of the formatter's usefile attribute is "true" an (empty) file TEST-org.example.test.TimeoutTestnull is created. <junit fork="true" showoutput="true" timeout="${timeout}"> <classpath path="classes"/> <formatter classname="org.example.TimeoutListener"/> <test name="org.example.test.TimeoutTest"/> </junit> After setting the usefile attribute to "false" ... <junit fork="true" showoutput="true" timeout="${timeout}"> <classpath path="classes"/> <formatter classname="org.example.TimeoutListener"/> <test name="org.example.test.TimeoutTest" usefile="false"/> </junit> ... no file is created (correct) however the addError method of TimeoutListener is never called after a timeout (not correct). See the latest attachment for bug#37241 for a worked out example. -- 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]