whoops, the following works...
<target name="cleanupcvs">
<delete>
<fileset dir="." defaultexcludes="false">
<include name="**/CVS/**"/>
</fileset>
</delete>
</target>
-----Original Message-----
From: Ciramella, EJ [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:15 PM
To: 'Ant Users List'
Subject: delete cvs dirs
I would like to delete all the CVS directories in the build tree.
Here is my target:
<target name="cleanupcvs">
<delete defaultexcludes="false">
<fileset dir=".">
<include name="**/CVS/**"/>
</fileset>
</delete>
</target>
Here is the message I get and nothing gets deleted:
[delete] DEPRECATED - Use of the implicit FileSet is deprecated. Use a
nested fileset element instead.
What am I doing wrong?