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 43412] - DirSet does not seem to work in <delete> when using patterns for
Date Tue, 25 Sep 2007 18:38:40 GMT
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=43412>.
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=43412


gudnabrsam@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From gudnabrsam@yahoo.com  2007-09-25 11:38 -------
<delete> only deletes empty directories.  You want:

<delete includeemptydirs="true">
  <fileset dir="${apps.dir}" includes="**/obj/" />
</delete>

In the manual entry, this is what is meant by:

 the removal of empty directories can be triggered when using nested filesets by setting the

includeEmptyDirs attribute to true. Note that this attribute is meaningless in the context
of any of the 
various resource collection types that do include directories, but that no attempt will be
made to delete 
non-empty directories in any case.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message