527528529530531532533534535536537
try { os = target.putNextEntry(entryName); FileUtils.copy(is, os, source.getEntrySize(entryName)); } finally { if (os!=null) { target.closeEntry(); } is.close(); } } }
540541542543544545546547548549550
Manifest m = source.getManifest(); if (m!=null) { processManifest(m, moduleName); OutputStream os = target.putNextEntry(JarFile.MANIFEST_NAME); m.write(os); target.closeEntry(); } source.close(); target.close();
419420421422423424425426427428429
try { os = target.putNextEntry(moduleJar.getName()); FileUtils.copy(is, os, moduleJar.length()); } finally { if (os!=null) { target.closeEntry(); } is.close(); } } }
456457458459460461462463464465466
470471472473474475476477478479480
Manifest m = source.getManifest(); if (m!=null) { processManifest(m, appName); OutputStream os = target.putNextEntry(JarFile.MANIFEST_NAME); m.write(os); target.closeEntry(); } source.close(); target.close();
416417418419420421422423424425426
453454455456457458459460461462463
467468469470471472473474475476477