Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-03-18 13:00:07 -0400
committerPascal Rapicault2015-03-19 11:51:15 -0400
commit31d60b18560f72feb16def254a0a7104b6009623 (patch)
treec48741e2755ec6e2535d4c0ab8b4e2250a9f53cf
parent9fa3ff029333fabef82b1f8dcf3006af9c4d9d01 (diff)
downloadrt.equinox.p2-31d60b18560f72feb16def254a0a7104b6009623.tar.gz
rt.equinox.p2-31d60b18560f72feb16def254a0a7104b6009623.tar.xz
rt.equinox.p2-31d60b18560f72feb16def254a0a7104b6009623.zip
Bug 461675 - [publisher][mac] Remove --launcher.ini from branding ironI20150320-0800I20150320-0030I20150319-1640I20150319-1430
-rw-r--r--bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java15
1 files changed, 0 insertions, 15 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 b4c060b50..5bb09c47a 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
@@ -12,7 +12,6 @@
package org.eclipse.equinox.internal.p2.publisher.eclipse;
import java.io.*;
-import java.util.List;
import javax.xml.transform.TransformerException;
import org.eclipse.equinox.p2.metadata.Version;
import org.eclipse.pde.internal.publishing.Utils;
@@ -528,7 +527,6 @@ public class BrandingIron {
infoPListEditor.setKey(InfoPListEditor.ICON_KEY, iconName);
}
- insertLauncherIni(infoPListEditor, descriptor.getExecutableName());
File target = new File(targetRoot, "Info.plist"); //$NON-NLS-1$;
try {
target.getParentFile().mkdirs();
@@ -546,19 +544,6 @@ public class BrandingIron {
descriptor.replace(infoPList, target);
}
- private void insertLauncherIni(InfoPListEditor infoPListEditor, String launcher) {
- final String LAUNCHER_INI = "--launcher.ini"; //$NON-NLS-1$
- List<String> args = infoPListEditor.getEclipseArguments();
- int match = args.indexOf(LAUNCHER_INI);
- if (match != -1) {
- args.remove(LAUNCHER_INI);
- args.remove(match + 1);
- }
- args.add(LAUNCHER_INI);
- args.add("$APP_PACKAGE/Contents/Eclipse/" + launcher + ".ini"); //$NON-NLS-1$//$NON-NLS-2$
- infoPListEditor.setEclipseArguments(args);
- }
-
private int scan(StringBuffer buf, int start, String targetName) {
return scan(buf, start, new String[] {targetName});
}

Back to the top