>From the doc of <java>:

failonerror:
Stop the buildprocess if the command exits with a returncode other than 0.
Default is "false"

Capturing the actual returncode when the <java> buildprocess was forked as
<exec> allows does not seem possible though.

--DD

-----Original Message-----
From: Rahamim, Zvi (Zvi) [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 07, 2002 2:03 AM
To: Ant Users List
Subject: Fail if java task returns value 1


Hi!
Is it possible to cause the build fail if a <java> task returns 1 in its
exit code?
Thanks!

Zvi 

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

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

Reply via email to