ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: delete quiet=true
Date Mon, 12 Mar 2001 10:36:22 GMT
on 3/12/01 12:49 AM, "Conor MacNeill" <conor@cortexebusiness.com.au> wrote:

> The change you made was to stop delete throwing an exception when
> quiet=true.

When I originally checked in the code, my intention was to simply make the
logging turned off in order to emulate rm -f. I really wanted to be able to
delete a non-existent file/directory.

> In effect quiet is a misnomer and it would perhaps have been
> better named failonerror (you'd need to reverse the polarity, there, if you
> know what I mean). You didn't actually make the task quiet, in the logging
> sense.

Maybe for that intention it is.

> I would suggest we make the log statement indicated at verbose level. I
> can't imagine many people caring about not being able to delete a file that
> doesn't exist. If you agree, I can make the change for you.

I would agree to that.

thanks,

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


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


Mime
View raw message