ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rogers <jacae...@yahoo.com>
Subject deleting dirs
Date Mon, 19 Nov 2001 19:34:45 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message