https://issues.apache.org/bugzilla/show_bug.cgi?id=50816

           Summary: Delete task example does not work
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The example for recursive removal of .svn-folders in manual/Tasks/delete.html
does not work on my machine. The problem seems to be that the .svn-folders are
not empty.

Changing it from

  <delete includeemptydirs="true">
    <fileset dir="src" includes="**/.svn" defaultexcludes="false"/>
  </delete>

to

  <delete includeemptydirs="true">
    <fileset dir="src" includes="**/.svn/" defaultexcludes="false"/>
  </delete>

worked for me (added trailing /).

I am pretty new to ant so I do not know if it is the example or the behavior
that is wrong.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to