You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Bryon Day <br...@aws-online.co.uk> on 2001/03/07 18:51:42 UTC

deleting a directory recursively

dear all,

can anyone help me?

I'm trying to use Ant to recursively remove a directory within my project
directory structure.  the directory is "_notes" and there are MANY instances
throughout the project.

here is a copy of the xml I'm using:

  <target name="clean">
	<delete>
		<fileset dir="wwwroot" includes="**/_notes/**" />
	</delete>
  </target>



when run, this just empties the directories but does not remove the
directory itself.


all help appreciated.


cheers,
Bryon.