You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alan <al...@pacbell.net> on 2004/08/26 16:28:15 UTC
Distributed task : best practice...
I'm faced with writing a distributed <junit> task (spread over many
build files). I'd like it to send out an email and stop the build
process if there are test failures but there doesn't seem a simple way
to do it. I can't use 'failureProperty' because I'm running the junit
task in many different directories.
The only solution I can think of is to use <propertyfile> to write a
testsFailed property to the root directory and then read it after all
the tests are complete.
Is that the best there is or do other people have better solutions?
alan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org