|
|
@@ -859,7 +859,7 @@ public class Jar extends Zip { |
|
|
if (!skipWriting) { |
|
|
if (!skipWriting) { |
|
|
log("Building MANIFEST-only jar: " |
|
|
log("Building MANIFEST-only jar: " |
|
|
+ getDestFile().getAbsolutePath()); |
|
|
+ getDestFile().getAbsolutePath()); |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
try (ZipOutputStream zOut = new ZipOutputStream(getDestFile())) { |
|
|
try (ZipOutputStream zOut = new ZipOutputStream(getDestFile())) { |
|
|
zOut.setEncoding(getEncoding()); |
|
|
zOut.setEncoding(getEncoding()); |
|
|
zOut.setUseZip64(getZip64Mode().getMode()); |
|
|
zOut.setUseZip64(getZip64Mode().getMode()); |
|
|
@@ -877,6 +877,7 @@ public class Jar extends Zip { |
|
|
} finally { |
|
|
} finally { |
|
|
createEmpty = false; |
|
|
createEmpty = false; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|