summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
index 98f0c4b..c848afc 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java
@@ -50,7 +50,8 @@ public class Activator extends Plugin {
for (Bundle bundle : bundles) {
String forceStart = (String) bundle.getHeaders().get("Riena-ForceStart");
if (forceStart != null && forceStart.equals("true")) {
- if (bundle.getState() == Bundle.RESOLVED) {
+ // STARTING == LAZY, so start that also
+ if (bundle.getState() == Bundle.RESOLVED || bundle.getState() == Bundle.STARTING) {
bundle.start();
System.out.println(bundle.getSymbolicName() + " forced autostart successfully");
} else {