ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rogers <>
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?



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 includeEmptyDirs="true">
        <fileset dir="${deploy}" includes="**/*"
excludes="DEStore.tar.gz" />
</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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message