I have the following directory structure
[EMAIL PROTECTED]:/home/sluser# ls -R test
test:
d dddd
test/d:
test/dddd:
sdlkfjdslkf
and I want to delete the directory dddd and everything in it (I want to
keep the other directory). So I did this and dddd is not deleted
(unless it is empty). I am sure I am doing something stupid - but I
just can't see it....
<macrodef name="remove.installed.directories">
<sequential>
<property name="created.directories"
value="dddd/**"/>
<echo message="Deleting ${created.directories}"
/>
<delete includeemptydirs="true">
<dirset dir="/home/sluser/test"
includes="${created.directories}" followsymlinks="false"/>
</delete>
</sequential>
</macrodef>
Thanks!!
Tracy