ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <>
Subject FileUtils.createTempFile() - should we delete on exit?
Date Tue, 15 Apr 2003 03:58:06 GMT
Bug 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).


Jesse Stockall -
CRYPTOCard Corp.

View raw message