ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
Subject Re: Delete task should be failing for UNC path that does not exist
Date Thu, 26 Feb 2009 20:20:17 GMT
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.

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


Mime
View raw message