ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Brake <dbr...@globalinfotek.com>
Subject RE: Directory delete question
Date Fri, 30 Mar 2001 18:05:54 GMT
Thanks that fixed it.

I had downloaded an older version of Delete

> -----Original Message-----
> From: Eric.Hardesty@Bull.com [mailto:Eric.Hardesty@Bull.com]
> Sent: Friday, March 30, 2001 11:55 AM
> To: ant-user@jakarta.apache.org
> 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 <dbrake@globalinfotek.com> on 03/30/2001 08:36:33 AM
> 
> Please respond to ant-user@jakarta.apache.org
> 
> To:   "'ant-user@jakarta.apache.org'" <ant-user@jakarta.apache.org>
> 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:bodewig@apache.org]
> > Sent: Friday, March 30, 2001 1:28 AM
> > To: ant-user@jakarta.apache.org
> > Subject: Re: Directory delete question
> >
> >
> > Eric Hardesty <Eric.Hardesty@Bull.com> 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
> >
> 
> 
> 
> 
> 
> 

Mime
View raw message