[jboss-svn-commits] JBoss Common SVN: r3512 - tmpdpl/trunk/impl-vdf/src/main/java/org/jboss/tmpdpl/impl/vdf.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Sep 9 14:34:21 EDT 2009


Author: ALRubinger
Date: 2009-09-09 14:34:21 -0400 (Wed, 09 Sep 2009)
New Revision: 3512

Modified:
   tmpdpl/trunk/impl-vdf/src/main/java/org/jboss/tmpdpl/impl/vdf/VfsVdfDeployableImpl.java
Log:
[TMPDPL-4] Remove the temp exported deployable on exit

Modified: tmpdpl/trunk/impl-vdf/src/main/java/org/jboss/tmpdpl/impl/vdf/VfsVdfDeployableImpl.java
===================================================================
--- tmpdpl/trunk/impl-vdf/src/main/java/org/jboss/tmpdpl/impl/vdf/VfsVdfDeployableImpl.java	2009-09-09 04:47:37 UTC (rev 3511)
+++ tmpdpl/trunk/impl-vdf/src/main/java/org/jboss/tmpdpl/impl/vdf/VfsVdfDeployableImpl.java	2009-09-09 18:34:21 UTC (rev 3512)
@@ -115,6 +115,7 @@
       }
       final String fileName = archive.getName();
       final File tmpFile = new File(tmpDir, fileName);
+      tmpFile.deleteOnExit();
 
       // Write the ZIP to the temp file
       final OutputStream out;



More information about the jboss-svn-commits mailing list