1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 543958: CDT Standalone debugger crashes on startup

org.apache.felix.scr now needs a start-level.

See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=538729

Change-Id: Ia6f83a93449aeb32566be8893237e4bd2842b462
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
This commit is contained in:
Marc-Andre Laperle 2019-02-24 16:19:56 -05:00
parent 182de94259
commit c626ede917
2 changed files with 2 additions and 0 deletions

View file

@ -383,6 +383,7 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
</plugins>
<configurations>
<plugin id="org.apache.felix.scr" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />

View file

@ -39,6 +39,7 @@ public class ConfigGenerator {
private static final Set<String> PLUGINS_NOT_IN_SCRIPT_VERSION = new HashSet<>();
static {
PLUGINS_WITH_START_LEVEL.put("org.apache.felix.scr", "@1\\:start"); //$NON-NLS-1$ //$NON-NLS-2$
PLUGINS_WITH_START_LEVEL.put("org.eclipse.equinox.ds", "@1\\:start"); //$NON-NLS-1$ //$NON-NLS-2$
PLUGINS_WITH_START_LEVEL.put("org.eclipse.equinox.common", "@2\\:start"); //$NON-NLS-1$ //$NON-NLS-2$
PLUGINS_WITH_START_LEVEL.put("org.eclipse.core.runtime", "@start"); //$NON-NLS-1$ //$NON-NLS-2$