ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: deleting directory by pattern?
Date Thu, 13 Mar 2003 19:11:02 GMT
Check out the includeEmptyDirs and defaultExcludes attributes (or something
close to these names in <delete> and <fileset>). --DD

-----Original Message-----
From: [] 
Sent: Thursday, March 13, 2003 11:43 AM
Subject: deleting directory by pattern?

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*/**"/>


I am using Ant 1.5.1.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message