ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: FileUtils#createTempFile : what about using java.io.tmpdir as a default there ?
Date Tue, 24 Jun 2003 15:44:55 GMT
Hi Stefan and others,

I will shy away from changing the implementation of FileUtils#createTempFile
from what it is now to a pure wrapper of File#createTempFile.
Reason : the jar tests are failing with temporary files which cannot be
renamed when I try the change.
I will just use System.getProperty("java.io.tmpdir") as a default storage
location for temporary files, without wrapping
File#createTempFile.
Cheers
Antoine
----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <dev@ant.apache.org>
Sent: Monday, June 23, 2003 2:12 PM
Subject: Re: FileUtils#createTempFile : what about using java.io.tmpdir as a
default there ?


> On Fri, 20 Jun 2003, Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
> wrote:
>
> > Why do we not use java.io.tmpdir ?
>
> JDK 1.1 legacy - we'd probably better go the full way and use
> File#createTempFile in that method if you are going to change it - and
> change the Javadocs appropriately (as the file will get created by the
> changed method).
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message