You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/01/14 23:50:43 UTC
DO NOT REPLY [Bug 26145] New: -
delete task and missing folders
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26145>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26145
delete task and missing folders
Summary: delete task and missing folders
Product: Ant
Version: 1.6.0
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: mariuss@lightspeed.ca
It does not seem to be possible to diferentiate between files/directories that
do not exist and files/directories that cannot be deleted.
I would like my delete task to fail if it cannot delete some existing folder and
to succeed if that folder is not there to begin with (already deleted). You
would need this in 'clean' targets, running them multiple times should not fail.
I guess you can achieve this using some extra targets that first check if the
folder is there, but this adds unnecessary complexity to the script.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org