ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Delete task should be failing for UNC path that does not exist
Date Thu, 26 Feb 2009 20:40:59 GMT



--- On Thu, 2/26/09, David Weintraub <qazwart@gmail.com> wrote:

> From: David Weintraub <qazwart@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 <davidcorley@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
> qazwart@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message