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 3797] - Delete task does not support to exclude a directory
Date Thu, 27 Sep 2001 11:19:18 GMT
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

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
            Summary|Delete task does not support|Delete task does not support
                   |to exclude a directory      |to exclude a directory



------- Additional Comments From bodewig@apache.org  2001-09-27 04:19 -------
The exclude pattern will be used, but yours doesn't match /tmp/src - patterns
are always considered to be relative to the dir attribute.

There is no way to specify a pattern that matches /tmp/src itself (as the
pattern "" would be ignored) - this is covered in the WHATSNEW file and the
release notes for Ant 1.4 in the "Changes that could break older environments"
section:

* A delete task like
  <delete includeEmptyFilesets="true">
    <fileset dir="somedir" />
  </delete>
  will now remove "somedir" as well, unless there are still files left
  in it (matched by the default excludes).

Mime
View raw message