ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Ant 1.6.1 release / md5sum missing in the source distribution
Date Fri, 13 Feb 2004 15:09:50 GMT
--- Antoine_LÚvy-Lambert <> wrote:
> Now I have found the reason why I did not generate
> the md5sum files when 
> building the ant 1.6.1 distribution.
> the <delete> task in the src-dist target failed, and
> md5sum files are 
> normally generated after this delete.
> I had not paid attention to this failure.
> I do not know why the delete failed, maybe this was
> C:\dev\asf\ant\build.xml:1210: Unable to delete
> directory 
> C:\dev\asf\ant\apache-ant-1.6.1

Were any or all of the files in the directory deleted?
 Since this is on Windoze, you may be being bitten by
that weird bug Peter tried to fix in <delete>.  I have
been hit by it A LOT as I have worked on my
<redirector> stuff.  Apparently the Windows JVMs have
trouble letting go of resources so that sometimes an
attempt to delete a file you have created within the
life of the same VM fail.  I didn't want to believe
it, but it got to the point that my unit tests'
tearDown() methods were failing nearly every time... I
tried the magic solution to any Windows problem
(reboot) to no avail.  Web searches turned up the
dubious advice of calling System.gc(), which finally,
in desperation, I tried, only to discover that it
actually worked.  I verified the results with Sun JVMs
1.4.2 and 1.5.0beta, plus IBM 1.3.1 .  I was going to
commit my changes, but I am still waiting on my
access... the patch is attached.


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
View raw message