maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r602301 - /maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
Date Sat, 08 Dec 2007 02:34:00 GMT
Author: dkulp
Date: Fri Dec  7 18:34:00 2007
New Revision: 602301

URL: http://svn.apache.org/viewvc?rev=602301&view=rev
Log:
[MSHADE-5] Close the jar streams to hopefully unlock the files.

Modified:
    maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java

Modified: maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java?rev=602301&r1=602300&r2=602301&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
(original)
+++ maven/sandbox/trunk/plugins/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/DefaultShader.java
Fri Dec  7 18:34:00 2007
@@ -104,6 +104,8 @@
 
                 IOUtil.close( is );
             }
+            
+            jarFile.close();
         }
 
         for ( Iterator i = resourceTransformers.iterator(); i.hasNext(); )



Mime
View raw message