ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Chang <>
Subject Re: temp props file created by <junit> task
Date Mon, 16 Dec 2002 16:57:56 GMT

> Stephane Bailliez wrote:
> > ----- Original Message -----
> > From: "Rich Chang" <>
> >
> >>Again, I may be missing exactly why the platform temp dir wasn't used in
> >>the first place.
> >>Thoughts?
> >
> >
> > Because it does not exist in JDK 1.1
> BTW, I'd personally want to specify the temp dir to be in my ./build/tmp
> dir, so that it gets deleted after a "ant clean" and I know where the
> temp files are in case I have to look at them.

OK, so given that we CANNOT use the createTempFile() facility in order
to retain 1.1 compatibility, it looks like the solution is to add a "tmpDir"
attribute to the <junit> task. If tmpDir is not set, it defaults to
the basedir which it writes to now.

If there are no objections, I will open the item in Bugzilla and attach
my patch.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message