ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26145] New: - delete task and missing folders
Date Wed, 14 Jan 2004 22:50:43 GMT
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


Mime
View raw message