ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50816] New: Delete task example does not work
Date Tue, 22 Feb 2011 09:19:15 GMT
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: notifications@ant.apache.org
        ReportedBy: alfred.theorin@gmail.com


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.

Mime
View raw message