Path manifestPath = targetBundleDir.resolve("META-INF/MANIFEST.MF");
Files.createDirectories(manifestPath.getParent());
- if (isSingleton) {
+ if (isSingleton && entries.containsKey(BUNDLE_SYMBOLICNAME.toString())) {
entries.put(BUNDLE_SYMBOLICNAME.toString(),
entries.get(BUNDLE_SYMBOLICNAME.toString()) + ";singleton:=true");
}