Hello, 

> 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?

Yes, there is. I copied it directly from ant manual on
delete task:
  <delete includeemptydirs="true">
    <fileset dir="build" includes="**/*"/>
  </delete>

deletes all files and subdirectories of build, without
build itself.

HTH Ivan


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

Reply via email to