Try:
   <delete includeEmptyDirs="yes">
     <fileset dir="dir" includes="**/*"/>
   </delete>
Peter

Robert Mark Bram wrote:

Hi All!

I want to recursively delete everything inside build, but leaving build alone. This is what I have so far.

<delete includeEmptyDirs="true" >
<fileset dir="${build}" defaultexcludes="no" />
</delete>

Is there a way to do this other than deleting and re-creating the whole thing?
<delete dir="${build}" />
<mkdir dir="${build}" />


Advice would be most welcome!

Rob
:)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to