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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to