When I try
<target name="clean">
<deltree dir="c:/temp"/>
</target>
nothing ever gets deleted.
It turns out that
dir.getCanonicalPath() => C:/TEMP
dir.getAbsolutePath()) => C:/temp
Setting dir="c:/TEMP" overcomes this.
Using equalsIgnoreCase could potentially cause even more problems, so
might I suggest a warning if the absolute path & canonical path don't
match.
Fergus
--
Fergus Gallagher Tel: +44 (20) 89 87 07 17
Orbis Fax: +44 (20) 87 42 26 49
The Swan Centre email: [EMAIL PROTECTED]
Fishers Lane Web: http://www.orbisuk.com
London W4 1RX / UK