Thanks that fixed it.
I had downloaded an older version of Delete
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 11:55 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Directory delete question
>
>
>
> You need to pull down the latest changes for Delete.java. I
> recompiled it
> and updated my
> jar file and it works almost perfectly. I only wanted to
> delete all files
> under directories with the
> name build* and the fileset also picks files in the currect
> directory with
> build* names, but that's
> fine with me.
>
> Eric
>
>
>
>
> Dennis Brake <[EMAIL PROTECTED]> on 03/30/2001 08:36:33 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
>
> Subject: RE: Directory delete question
>
>
> I don't see where this fixes the delete problem.
>
> For example, the following is repeated executions of my clean target
> (Note: this was run about five times before this)
>
> D:\JavaDevelop\project>ant clean
> Buildfile: build.xml
>
> clean:
> [delete] Deleted 2 directories from D:\JavaDevelop\project\package
> [delete] Deleted 6 directories from
> D:\JavaDevelop\project\lib\codebase
>
> BUILD SUCCESSFUL
>
> Total time: 1 second
> D:\JavaDevelop\project>ant clean
> Buildfile: build.xml
>
> clean:
> [delete] Deleted 1 directory from D:\JavaDevelop\project\package
> [delete] Deleted 6 directories from
> D:\JavaDevelop\project\lib\codebase
>
> BUILD SUCCESSFUL
>
> Total time: 1 second
> D:\JavaDevelop\project>ant clean
> Buildfile: build.xml
>
> clean:
> [delete] Deleted 4 directories from
> D:\JavaDevelop\project\lib\codebase
>
> BUILD SUCCESSFUL
>
> Total time: 1 second
> D:\JavaDevelop\project>ant clean
> Buildfile: build.xml
>
> clean:
>
> BUILD SUCCESSFUL
>
> Total time: 1 second
> D:\JavaDevelop\project>
>
>
>
>
>
>
> > -----Original Message-----
> > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 30, 2001 1:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Directory delete question
> >
> >
> > Eric Hardesty <[EMAIL PROTECTED]> wrote:
> >
> > > I just noticed that the includeEmptyDirs should be on the <delete>
> > > and that deletes the lowest level directories, but not any of the
> > > intervening, which is probably the problem that you were talking
> > > about. Where would I find the fix to patch this?
> >
> > If you've built Ant from sources, go here
> > <http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta
> > -ant/src/main/org/apache/tools/ant/taskdefs/Delete.java?rev=1.
> > 17&content-type=text/plain>
> > and replace Delete.java with this file.
> >
> > If you need a binary, pick up one of the nightly builds and be
> > prepared to (possibly) deal with new bugs, but lose some
> old ones 8-)
> >
> > Stefan
> >
>
>
>
>
>
>