ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Purang <>
Subject problem with delete task
Date Fri, 22 Jun 2001 01:16:45 GMT
   I am using the following task to delete directories inside
c:\CVS1\ 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"/>

CAn you suggest a better solution on this ?

Viraj Purang

View raw message