ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Fail if java task returns value 1
Date Sun, 07 Jul 2002 14:47:20 GMT
>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:zrahamim@avaya.com]
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message