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

[EMAIL PROTECTED] 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 [EMAIL PROTECTED]  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).

Reply via email to