Fix singleton use case
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 3 Nov 2022 04:12:43 +0000 (05:12 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 3 Nov 2022 04:12:43 +0000 (05:12 +0100)
src/org/argeo/build/Make.java

index 9593e0df00d01b38126b387e377e7a23bf1e6127..0da82b0cab00677432c497077740dca741abee9d 100644 (file)
@@ -233,7 +233,8 @@ public class Make {
                }
 
                // Normalise
-               properties.put("Bundle-SymbolicName", bundleSymbolicName);
+               if (!properties.containsKey("Bundle-SymbolicName"))
+                       properties.put("Bundle-SymbolicName", bundleSymbolicName);
 
                // Calculate MANIFEST
                Path binP = compiled.resolve("bin");