Posted By

laurenceosx on 01/16/11


Tagged

ant CVS


Versions (?)

Kill Cvs


 / Published in: XML
 

@rem    File:   killcvs.bat
@rem        calls ant using file killcvs.xml
@rem        Laurence Toenjes 1/15/2011
@pushd "%~dp0"
call ant -f "%~n0.xml"
@popd
  1. <project name="KillCvs" default="killcvs" basedir=".">
  2.  
  3. <description>
  4. ant task to kill cvs files and folders
  5.  
  6. kills all cvs folders
  7. and .ignorecvs files
  8.  
  9. Laurence Toenjes 1/15/2011
  10.  
  11. @rem batch file begin
  12.  
  13. @rem File: killcvs.bat
  14. @rem calls ant using file killcvs.xml
  15. @rem Laurence Toenjes 1/15/2011
  16.  
  17. @pushd "%~dp0"
  18. call ant -f "%~n0.xml"
  19. @popd
  20.  
  21. @rem batch file end
  22.  
  23. </description>
  24.  
  25. <target name="killcvs" description="killcvs" >
  26.  
  27. <delete includeemptydirs="true" verbose="true" >
  28. <fileset dir="${basedir}" includes="**/CVS/" defaultexcludes="false" casesensitive="no" />
  29. <fileset dir="${basedir}" includes="**/.cvsignore" defaultexcludes="false" casesensitive="no" />
  30. </delete>
  31.  
  32. </target>
  33.  
  34. </project>

Report this snippet  

You need to login to post a comment.