Try using

<fail message="Not implemented yet"/>

Cheers,

Marco.






Nathan Coast <[EMAIL PROTECTED]>
04/26/2002 11:26 AM
Please respond to "Ant Users List"

 
        To:     Ant Users List <[EMAIL PROTECTED]>
        cc: 
        Subject:        how to fail a task


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to