DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29471>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29471

delete task + attributes fail to delete dir with defaultexcludes on

           Summary: delete task + attributes fail to delete dir with
                    defaultexcludes on
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I wanted to delete a build dir including CVS files and directories.

I tried to use the delete task this way:

<delete includeEmptyDirs="true" defaultexcludes="false">
  <fileset dir="build"/>
</delete>

I get a DEPRECATED message but my build dir was still here with all its CVS 
files (others "ordinary" files were deleted)

Workaround:
I use (more simply) the delete task this way: 
  <delete dir="build"/>
and it works fine (my CVS files are deleted).

You can also use:
  <delete dir="build" includeEmptyDirs="true" defaultexcludes="false"/>
works fine too.

Since it's a DEPRECATED way of using <delete> that causes the problem , it is 
not really a bug, that's why I assign Severity: Minor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to