well, I would have to specify which directories are going to be EMPTY when I'm done with the delete? How would I know that? No, there are no class files left in the directory when the operation is done. The directory is empty, but doesn't get removed. Thanks, Eric --- Vadim Kazakov wrote: > Because you're not specifying the directory in the include tags so it > only deletes .java and .class files unless the .class files are in a > subdirectory xyz/test1. > > -----Original Message----- > From: Eric Lubin [mailto:elubin@yahoo.com] > Sent: November 19, 2004 2:07 PM > To: user@ant.apache.org > Subject: newbie not removing my empty directory? > > Based on the directory structure and files listed at the bottom, why > doesn't the last delete > remove the test2_sub1 directory? > > Thanks, Eric > > > simple example build file > > > > > > > > > > > > > > > > > ----------------------------------------------------------------------- > > root > |-com > |-xyz > |-test1 (with file a.java and a.class) > |-test1_sub1 (with file b.java and b.class) > |-test2 (with file c.java and c.class) > |-test2_sub1 (with file d.java and d.class) > |-test2_sub2 (with file e.txt and f.txt) > > > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org