--- [EMAIL PROTECTED] wrote:
[SNIP]
> I have some ant scripts that manage archiving files
> between NT servers in
> our production environment.  A while back the move
> task began failing with
> an error related to deleting the source file (see
> below)
> 
>      [move] Warning: Unable to delete file
> \\server\foo\bar.log
> 
> Under ant 162 when this happens the move task stops
> processing the list of
> files to move  - but the ant script does not fail.
> 
Right, the failonerror is being honored but not how
you think.  The error is thrown as soon as something
goes wrong; the failonerror flag is checked at a
higher level in the code so that the code is not
littered with failonerror checks.  A possible
workaround might be using ant-contrib's <for> task to
move your files one by one.

-Matt


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to