You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hari Ramasubbu <ha...@yahoo.com> on 2001/06/12 00:13:06 UTC

failonerror for copy target

How do i terminate the build if a copy target fails.
I want to get he message "build failed" if the copy
operation fails.

thanks
hari




Re: failonerror for copy target

Posted by Hari Ramasubbu <ha...@yahoo.com>.
Thanks a lot Alan .. it works ...I appretiate the
help.

regards
hari

--- Alan Gates <al...@radik.com> wrote:
> Hari,
> 
> In the released 1.3 version this is not possible
> (copy just ignored 
> failures).  This has been fixed in the nightly build
> version as bug 1547 
> as of 3 May 2001.  You can download nightly build
> versions from
>
http://jakarta.apache.org/builds/jakarta-ant/nightly.
> 
> Alan.
> 
> Hari Ramasubbu wrote:
> 
> >How do i terminate the build if a copy target
> fails.
> >I want to get he message "build failed" if the copy
> >operation fails.
> >
> >thanks
> >hari
> >
> >
> 
> 
> 


Re: failonerror for copy target

Posted by Alan Gates <al...@radik.com>.
Hari,

In the released 1.3 version this is not possible (copy just ignored 
failures).  This has been fixed in the nightly build version as bug 1547 
as of 3 May 2001.  You can download nightly build versions from
http://jakarta.apache.org/builds/jakarta-ant/nightly.

Alan.

Hari Ramasubbu wrote:

>How do i terminate the build if a copy target fails.
>I want to get he message "build failed" if the copy
>operation fails.
>
>thanks
>hari
>
>