X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2FModularDistributionFactory.java;h=f79b4ed4af8e445ca5d6a9785bdabde829cdc952;hb=31b8e625318f0e89e544202d00b90a64b886797c;hp=db22db66c50201d6b4ff4f1dfffed37ef7dfff5c;hpb=1a0340b557d4cd38e763e4922a3ee4e5dcc8f6d3;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/ModularDistributionFactory.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/ModularDistributionFactory.java index db22db66c..f79b4ed4a 100644 --- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/ModularDistributionFactory.java +++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/ModularDistributionFactory.java @@ -73,7 +73,7 @@ public class ModularDistributionFactory implements Runnable { distFile = generatePomFile(); else throw new SlcException( - "Unimplemented distribution azrtiofact type " + "Unimplemented distribution artifact type: " + artifactType + " for " + osgiDistribution.toString()); @@ -106,6 +106,7 @@ public class ModularDistributionFactory implements Runnable { jarOut = new JarOutputStream(byteOut, createManifest()); // Create various indexes addToJar(createCsvDescriptor(), CSV_FILE_NAME, jarOut); + jarOut.close(); return byteOut.toByteArray(); } catch (IOException e) { throw new SlcException(