--- On Thu, 2/26/09, David Weintraub <qazw...@gmail.com> wrote:
> From: David Weintraub <qazw...@gmail.com>
> Subject: Re: Delete task should be failing for UNC path that does not exist
> To: "Ant Users List" <user@ant.apache.org>
> Date: Thursday, February 26, 2009, 2:20 PM
> You need to set failonerror="true" to
> kill the build when the delete
> fails. Of course, Ant is depending upon the OS to give it a
> "proper"
> exit value from the delete command. I can't say for certain
> whether
> UNC paths might be cause problems in this respect.
I've abused Ant for all sorts of purposes over the years, some of which
included working on UNCs. But I agree that ordinarily builds should be based
from a ... well, basedir.
-Matt
>
> BTW, why are you using UNC anyway. Normally, you don't do
> things in
> Ant outside of the ${basedir}.
>
> On Thu, Feb 26, 2009 at 1:09 PM, Dave <davidcor...@gmail.com>
> wrote:
> > However, I'm still curious as to why delete is silent
> when the UNC path
> > passed to it does not exist?
>
>
>
> --
> --
> David Weintraub
> qazw...@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org