incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbal...@apache.org
Subject svn commit: r1428914 - /incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java
Date Fri, 04 Jan 2013 15:07:29 GMT
Author: jbalsas
Date: Fri Jan  4 15:07:28 2013
New Revision: 1428914

URL: http://svn.apache.org/viewvc?rev=1428914&view=rev
Log:
Remove tmp files after running the tests

Modified:
    incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java

Modified: incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java
URL: http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java?rev=1428914&r1=1428913&r2=1428914&view=diff
==============================================================================
--- incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java (original)
+++ incubator/flex/falcon/trunk/compiler.tests/functional-tests/f/SDKSWCTests.java Fri Jan
 4 15:07:28 2013
@@ -61,7 +61,9 @@ public class SDKSWCTests
 		{
 			if(outputSwcName.length() < 3)
 				outputSwcName = "_" + outputSwcName;
-			output = File.createTempFile(outputSwcName, ".swc").getAbsolutePath();
+			File tmpFile = File.createTempFile(outputSwcName, ".swc");
+			tmpFile.deleteOnExit();
+			output = tmpFile.getAbsolutePath();
 		}
 		catch (IOException e)
 		{



Mime
View raw message