You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jason Rogers <ja...@yahoo.com> on 2001/11/19 20:34:45 UTC

deleting dirs

I thought that deletion of dirs with empty files was
supposed to be fixed in 1.4.1, but my build.xml is working
properly.  It deletes files and empty child dirs, but not
dirs that include empty dirs.  Any clues?

Thanks.

Jason

P.S. I _have_ searched the archives and read the docs.  I
am doing all that has been prescribed except for adding the
defaultExcludes="no" to <delete/>.  Am I missing something?

<snippet of build.xml>
  <target name="clean" depends="init, compile, package">
     <delete includeEmptyDirs="true">
        <fileset dir="${staging}" includes="**/*" />
     </delete>

     <delete includeEmptyDirs="true">
        <fileset dir="${deploy}" includes="**/*"
excludes="DEStore.tar.gz" />
     </delete>
  </target>
</snippet of build.xml>


=====
-----------------------------------------
             Keep it simple...
(1 Corinthians 2:2, Galatians 2:20, 6:14)

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>