ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject RE: Pb with <unzip>+<trycatch>+<delete>
Date Tue, 16 Mar 2004 18:51:57 GMT
--- Dominique Devienne <> wrote:
> > From: Peter Reilly
> > Have you tried the lastest cvs version of the
> delete task, Matt has
> > added a System.gc to the Delete#delete method
> which solves a lot of
> > timing issues with windows.
> Nope, I'm running 1.6.0. But it's always scary to me
> when one needs
> System.gc() in ones code... As we all know, this

Dominique:  please believe that I hated to add this to
the code.  Unfortunately, IT WORKS.  If you search the
lists you will find that I said when I added it that I
didn't want to believe it was true...  Another place
that would have achieved a similar effect would be on
LazyFileOutputStream.close(), since most files created
by Ant are created this way... it's just something to
do with Windows JVMs not properly releasing file
handles or something until after gc, best I can


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message