Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

AW: how to detect failed build

Jan Materne

2008-02-26


Author LoginPost Reply
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:jahidul.hasan@(protected)]
> Gesendet: Dienstag, 26. Februar 2008 09:29
> An: user@(protected)
> 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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.