ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject FileUtils#createTempFile : what about using java.io.tmpdir as a default there ?
Date Thu, 19 Jun 2003 22:32:04 GMT
One user complained that FixCrLf changes the timestamp of its <destdir/> (because it
created temp files there).
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20870
I have just done a change which will not work to the satisfaction of the user if the destdir
of <fixcrlf/> is the current directory.

I have noticed that when one does not specify a directory to create a temp file 
(argument parentDir=null)
the method FileUtils#createTempFile public File createTempFile(String prefix, String suffix,
File parentDir)
creates the temp file in the current directory.
Why do we not use java.io.tmpdir ?

Cheers

Antoine
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message