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 23070] - Delete task can't delete a directory based on a name pattern
Date Thu, 11 Sep 2003 13:58:26 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=23070>.
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=23070

Delete task can't delete a directory based on a name pattern

scott.stirling@workscape.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED



------- Additional Comments From scott.stirling@workscape.com  2003-09-11 13:58 -------
Jan,

Thanks for resolving this.  I learned something, which is that I need to put a 
trailing forward slash after the directory name pattern in the includes 
attribute.  I wasn't doing this, and if you don't, the include pattern doesn't 
work.  

I had looked over the <delete> and <fileset> docs, and now re-read the 
dirtasks.html doc on Directory-based tasks.  There's nothing I could find that 
indicates that a trailing slash (which I know implies /**) in a fileset include 
pattern means that the matched top level directory(ies) will be deleted, 
whereas without the trailing slash they will not.  I've been using Ant for 
years and never ran into this for some reason.

Thanks again.

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


Mime
View raw message