You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Viraj Purang <vi...@spincircuit.com> on 2001/06/22 03:16:45 UTC
problem with delete task
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