----- Original Message -----
From: "Josh Sugnet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 3:47 AM
Subject: removing directories
> I am trying to recursively remove all of the classes directories from a
directory
> tree, but am not having much luck. I am trying the following:
>
> <delete>
> <fileset dir="test" includes="**/classes" />
> </delete>
>
Think of delete as having two "modes" of operation:
1. Delete files - is activated if you specifiy file as you do implicitely
with the fileset
2. Delete directory - if *only* dir="..." is specified.
Change your task to
<delete dir="test"/>
or
<delete dir="test/classes"/>
and it should work (I'm not really sure what you wish to delete - the first
one will delete everything under test, the second one everything unter
test/classes).
Nico