if (manifest != null) {
out = new JarOutputStream(new FileOutputStream(destinationFile), manifest);
// add the startup file which allows us to locate the startup directory
out.putNextEntry(new ZipEntry("META-INF/startup-jar"));
out.closeEntry();
} else {
out = new JarOutputStream(new FileOutputStream(destinationFile));
}
// write the configurationData