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 20:27:00 UTC

delete task recursion ...PLease do answer ASAP if possible ...

Hi,
   I have to run this task 5-6 times in order to delete all directories
inside the current . Is there any way I can put this in a loop.
  I want to be able to remove all directories and there subdirectories
except those which are quoted inside the excludes task .How do I do it ?


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

Regards,
Viraj Purang

Re: delete task recursion ...PLease do answer ASAP if possible ...

Posted by Stefan Bodewig <bo...@apache.org>.
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1651>

Stefan