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=3797>.
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=3797

Delete task does not support to exclude a directory 

           Summary: Delete task does not support to exclude a directory
           Product: Ant
           Version: 1.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When the attribute includeEmptyDirs in a delete task is set to true 
the exclude attribute of the file set is not use 

file tree:
/tmp/src
/tmp/src/toto
/tmp/src/toto/foo 


<delete includeEmptyDirs="true" >
<fileset dir="/tmp/src/" >
        <exclude name="/tmp/src/">
</fileset>
</delete>


and /tmp/src is deleted

Reply via email to