ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Stör <mar...@frightanic.com>
Subject "Return values" with Ant?
Date Wed, 27 Oct 2004 16:23:01 GMT
Hi

Scenario:
Target X in file build.xml
Target Y in file doit.xml

In X Y is called through the subant task. How can I let X know about Y's
results?

Y executes - among other things - JUnit tests with:
<junit  failureProperty="test.failed" ....

and checks for failed tests:
<fail if="test.failed">Unit tests failed....

I'd like to know in X that JUnit testing failed. How to achieve that?

Regards,
Marcel


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message