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 9671] - Add nested dirset in delete task
Date Thu, 22 Aug 2002 22:17: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=9671>.
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=9671

Add nested dirset in delete task





------- Additional Comments From pouetk@hotmail.com  2002-08-22 22:17 -------
I only think about the speed of execution. The fileset is base on file and the 
dirset would be base on directory.

Ok let say I want to delete all folders under jclasses with some exception.
With the fileset I have to specified that I want to delete the .class files and 
then delete the empty directory. So this is two phase, delete the files and 
then the directory. (Imagine 500 files to be deleted + 20 empty folders or only 
20 folders). The bad think with the dirset is if by mistake you add a file with 
a different extension... < Just to bad! >

I know, with the fileset I can specify the list of directory to be deleted, but 
I have to maintain the list.

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


Mime
View raw message