You need to use the <defaultexcludes> task
(http://ant.apache.org/manual/CoreTasks/defaultexcludes.html) to remove
the CVS patterns:
<defaultexcludes remove="**/CVS"/>
<defaultexcludes remove="**/CVS/**"/>
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 07/29/2005 11:35:05 PM:
> This is probably easy, but it's elluding me... I'm truing to write a
> task to delete all CVS directories anywhere in my project (i.e., in all
> subdirectories starting from the root. I wrote the following:
>
> <project name="None" default="removecvs" basedir="." >
> <target name="removecvs">
> <delete includeemptydirs="true">
> <fileset dir="." includes="**/CVS/*"/>
> </delete>
> </target>
> </project>
>
> Doesn't seem to work though. No doubt at all it's me :) Thanks!
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>