incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Smith <gosm...@adobe.com>
Subject RE: Falcon functional tests
Date Sat, 22 Dec 2012 00:29:15 GMT
Let's try your fix.

- Gordon

-----Original Message-----
From: Chema Balsas [mailto:jbalsas@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 <jbalsas@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 <gosmith@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
>>
>>
>

Mime
View raw message