ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: FileUtils.createTempFile() - should we delete on exit?
Date Tue, 15 Apr 2003 04:33:13 GMT
On Tue, 15 Apr 2003 01:58 pm, Jesse Stockall wrote:
> Bug 17512 http://issues.apache.org/bugzilla/show_bug.cgi?id=17512
> proposes a fix for an annoyance that 'plagues' a number of Ant tasks.
>
> Tasks like <junit> and <javac> can create temporary files that get left
> behind if the build is terminated via 'ctrl-c'
>
> Should the fix be applied to each task that creates temp files, or
> should it be put in FileUtils.createTempFile().
>
> Since 1.6 will require JDK 1.2+ we can avoid the ugly reflection in the
> patch (attached to the bug report).
>
> Thoughts?
>

+1 to a centralized cleanup of temp files. It may need to be an parameter, 
though.

Conor


Mime
View raw message