ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject Re: Task to delete CVS directories
Date Sat, 30 Jul 2005 04:26:20 GMT
Hmm, I certainly understand what you wrote (didn't know about that 
before, but makes perfect sense), but it doesn't seem to have helped. 
My complete script is now:

<project name="None" default="removecvs" basedir="." >
   <target name="removecvs">
     <defaultexcludes remove="**/CVS"/>
     <defaultexcludes remove="**/CVS/**"/>
     <delete includeemptydirs="true">
       <fileset dir="." includes="**/cvs/*"/>
     </delete>
   </target>
</project>

Any ideas?  Thanks Jeff!

Jeffrey E Care wrote:
> 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/**"/>
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message