throwing a BuildException is the right way.

----- Original Message -----
From: "Nathan Coast" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 5:26 AM
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]>
>
>


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

Reply via email to