Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-03-07 04:35:33 -0500
committerPascal Rapicault2015-03-07 21:59:41 -0500
commit6513488ecff51b10083d38900a5479c72ef13ad6 (patch)
tree04783809f0b9fec765381f16c427fea3b387d712
parent72fcc3ed9f5bc458896cdedab33f0cf802cefa53 (diff)
downloadrt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.tar.gz
rt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.tar.xz
rt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.zip
Branding iron fails when id is null
Change-Id: Ie1498a71ac60122df1ed50c98479e941a8993100 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
index 609e89aba..183653d06 100644
--- a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
+++ b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
@@ -506,7 +506,7 @@ public class BrandingIron {
//Deal with error case
infoPListEditor.setKey(InfoPListEditor.MARKER_KEY, name);
infoPListEditor.setKey(InfoPListEditor.BUNDLE_KEY, name);
- infoPListEditor.setKey(InfoPListEditor.BUNDLE_ID_KEY, id);
+ infoPListEditor.setKey(InfoPListEditor.BUNDLE_ID_KEY, id == null ? name : id);
if (description != null)
infoPListEditor.setKey(InfoPListEditor.BUNDLE_INFO_KEY, description);

Back to the top