ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject [PATCH] failonerror for Delete.java
Date Wed, 30 May 2001 04:42:07 GMT

This is a patch for Delete.java and the associated documents, which adds a
failonerror flag. This flag is more than just !quiet; the quiet flag in
delete not only means 'dont fail on errors', it means 'don't even mention
that things went wrong', which is too discrete for me.

I've been using this patch during deployment tasks; sometimes the odd jar is
kept in use (jce.jar in particular); warning of this is useful as we humans
can then intervene but I still want the task to proceed to the end before
attempting recovery actions. (in this case renaming things)

I have tested against files which cant be deleted, but not all the corner
cases which this task can actually bail out on. Some unit tests may be
possible.

-Steve



Mime
View raw message