I think java.io.tmpdir is not used because
it is not in java 1.1.

As Ant does not support 1.1 (except to
generated 1.1 classes), use should
probably be made of java.io.File#createTempFile().

Peter.

On Thu, 2003-06-19 at 23:32, Antoine Levy-Lambert wrote:
> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to