A build failed if a task throws an exception, usually a BuildException.
<fail> is a task for throwing a BE.
When a BE occurs Ant stops executing the build process a returns with 
an error code != 0.
With <fail status> you could provide the error code.


Jan 

> -----Ursprüngliche Nachricht-----
> Von: Md. Jahidul Hasan [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 26. Februar 2008 09:29
> An: user@ant.apache.org
> Betreff: how to detect failed build
> 
> is there any task / properties which can be use to track the 
> build failed
> or not. I don't want to extend any ant class for this task. 
> Is there any
> built in task ?
> 
> :Hasan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to