| deleting directory by pattern? | deleting directory by pattern? 2003-03-13 - By Ken.Liu@(protected)
Hi all -
I am trying to delete a temporary directory created by weblogic. I can't predetermine the full directory name, but it does follow a pattern.
I tried the following, but it only deletes the files, not the directory structure. (the directory tree I want to delete starts with "tmp")
<delete verbose="true"> <fileset dir="c:/weblogicdir" includes="tmp*/**"/> </delete>
Thanks.
I am using Ant 1.5.1.
Ken
|
|
 |