diff options
author | Andrew Niefer | 2007-05-23 19:50:38 +0000 |
---|---|---|
committer | Andrew Niefer | 2007-05-23 19:50:38 +0000 |
commit | 490b76c02ac844e41ff97ffe2dcb2d9549d29d05 (patch) | |
tree | 3a56091b8aa433967206c5cc5be014e74bfbc008 | |
parent | 312eb675efeb0d053e58f16f33481a3bd35d1709 (diff) | |
download | rt.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.java | 8 |
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 |