Let's try your fix.

- Gordon

-----Original Message-----
From: Chema Balsas [mailto:jbal...@gmail.com] 
Sent: Friday, December 21, 2012 3:15 PM
To: flex-dev@incubator.apache.org
Subject: Re: Falcon functional tests

What I can't quite understand is why the temp files are being created inside 
your user directory...

2012/12/22 Chema Balsas <jbal...@gmail.com>

> Yep, I'd say this has been going since the beggining... in my case, 
> they're getting stored as somewhere like
>
>
> /var/folders/x6/926_x3v952x05jkwpg4rq5400000gn/T/apache656204672369532
> 5653.swc It seems this is the usual behavior, and is solved by 
> invoking the
> deleteOnExit() method on the created temporary file. I've checked, and 
> changing
>
>  output = File.createTempFile(outputSwcName, 
> ".swc").getAbsolutePath();
>
> to
> File tmpFile = File.createTempFile(outputSwcName, ".swc"); 
> tmpFile.deleteOnExit(); output = tmpFile.getAbsolutePath();
>
> does remove the temporary swcs.
>
> If you're not doing anything else with the tests, I can commit this 
> easy fix.
>
> Cheers,
> Chema
>
> 2012/12/21 Gordon Smith <gosm...@adobe.com>
>
>> My user directory is getting littered with files like 
>> airframework236875180568976546.swc from the functional tests that 
>> compile SWCs. Did somebody change the way they compile, or has this 
>> been happening since I wrote the test infrastructure?
>>
>> - Gordon
>>
>>
>

Reply via email to