ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nathan.co...@blueyonder.co.uk>
Subject how to fail a task
Date Fri, 26 Apr 2002 09:26:06 GMT
Hi,

I'm working on a number of custom tasks. In certain situations I want the tasks 
to fail causing the whole build to fail.  What is the correct way to do this? 
Throw a build exception? or is there some method to call that sets the build 
status to failed?

thanks
Nathan


--
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