On Nov 4, 2007, at 9:11 AM, Claude Brisson wrote:

Hi.

I need to execute a task when junit encounters an error or a failure.

Is there any way to do so?

If I set haltonerror/failure to false, is there a way to get junit
success status in a property, so that I can then trigger the subsequent
flow?


There is. You set the "errorproperty" or "failureproperty" attribute:

http://ant.apache.org/manual/OptionalTasks/junit.html

Henk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to