ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <>
Subject RE: new to ant
Date Thu, 21 Mar 2002 15:02:13 GMT
Check the document, it is very clear!
  <delete includeEmptyDirs="true">
    <fileset dir="." includes="**/*.*"/>

 	Barry Jia
Tel:416-488-1999 ext.306
Email: <>  


-----Original Message-----
From: Chan-wa Fong []
Sent: Thursday, March 21, 2002 10:10 AM
To: Ant Users List
Subject: new to ant


I am new to ant.

I would like to know does anyone know how to delete all files that are under
a directory such as

Here is my undeploy code:
<target name="undeploy" description="undeploys everything from Tomcat">
	<delete dir="${env.TOMCAT_HOME}/webapps/ROOT/${appName}"/>
	<delete dir="${deployClassesDir}/${packageName}"/>
	<delete file="${deployClassesDir}/*.*"/>

I used this  <delete file="${deployClassesDir}/*.*"/> to try to delete all
the files that are under this directory but it did not work.


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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message