Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-05-23 19:50:38 +0000
committerAndrew Niefer2007-05-23 19:50:38 +0000
commit490b76c02ac844e41ff97ffe2dcb2d9549d29d05 (patch)
tree3a56091b8aa433967206c5cc5be014e74bfbc008
parent312eb675efeb0d053e58f16f33481a3bd35d1709 (diff)
downloadrt.equinox.framework-490b76c02ac844e41ff97ffe2dcb2d9549d29d05.tar.gz
rt.equinox.framework-490b76c02ac844e41ff97ffe2dcb2d9549d29d05.tar.xz
rt.equinox.framework-490b76c02ac844e41ff97ffe2dcb2d9549d29d05.zip
bug 187821
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 6afd477fc..1bc172b2f 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -135,6 +135,7 @@ public class Main {
private static final String OS = "-os"; //$NON-NLS-1$
private static final String WS = "-ws"; //$NON-NLS-1$
private static final String ARCH = "-arch"; //$NON-NLS-1$
+ private static final String STARTUP = "-startup"; //$NON-NLS-1$
private static final String OSGI = "org.eclipse.osgi"; //$NON-NLS-1$
private static final String STARTER = "org.eclipse.core.runtime.adaptor.EclipseStarter"; //$NON-NLS-1$
@@ -1362,6 +1363,13 @@ public class Main {
found = true;
}
+ // look for the startup jar used
+ if (args[i - 1].equalsIgnoreCase(STARTUP)) {
+ //not doing anything with this right now, but still consume it
+ //startup = arg;
+ found = true;
+ }
+
// look for the launcher location
if (args[i - 1].equalsIgnoreCase(LAUNCHER)) {
//not doing anything with this right now, but still consume it

Back to the top