DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27014>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27014 failureproperty parameter in JUnit task does not work when testcase fails [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2004-02-18 11:33 ------- Hi! Thanks for the prompt answer. I didn't know that the behaviour of the "fail" task has changed. Until version 1.5.4 the following sample script only printed "BUILD FAILED". 1: <project default="y"> 2: <target name="x"> 3: <property name="z" value="set"/> 4: <fail if="z"></fail> 5: </target> 6: <target name="y"> 7: <antcall target="x"/> 8: </target> 9: </project> Result for Ant 1.6.x: BUILD FAILED /home/preilly/learning/ant/fail.xml:7: Following error occured while executing this line /home/preilly/learning/ant/fail.xml:4: if=z This looked like an error for me, especially because the printed line number is not always correct. Best regards Jochen Fischer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]