I'm trying to write an
ant task to totally clean my output directory. I want to delete any empty folders as well. I manage to delete everything in my output directory. But it also deletes my output directory as well, which I do not want. Anyone know the incantation that I need ?
This is my curent task :
<target depends="init" description="Clean all build products." name="clean">
<delete includeEmptyDirs="true">
<fileset dir="${outputDir}/."/>
</delete>
</target>
thanks, D.
[ March 18, 2004: Message edited by: Don Kiddick ]