ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Purang <viraj_pur...@spincircuit.com>
Subject problem with delete task
Date Fri, 22 Jun 2001 01:16:45 GMT
HI,
   I am using the following task to delete directories inside
c:\CVS1\builder...it should ideally delete all the directories inside
"c:\CVS1\builder" and all the files too.
But what finally ends up happening is that all the directories remain intact
and all files are deleted because the CVS directory with allits files does
not get deleted.
All the files are NOT read only ..and the security permissions shjo that
they are allowing EVERYONE full control/access.


 <!-- =========================================================== -->
  <target name="build-clean" 
          description="Removes residue of previous builds">
    <echo message="Removing residue of previous builds"/>
    <delete verbose="true" includeEmptyDirs="true" defaultexcludes="no">
      <fileset dir="." excludes="build.xml"/>
    </delete>
  </target>

CAn you suggest a better solution on this ?

Regards,
Viraj Purang

Mime
View raw message