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 15:36:33 GMT
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