summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-02-12 05:39:31 (EST)
committerChristian Campo2008-02-12 05:39:31 (EST)
commit5d9e5af95d146d2fd742acd1a708de75beeeb4d5 (patch)
treed317f97ca324bc508dcf11d7bb0fd70fced4f8e1
parent383d649cb77463528164961039f362deb0eddcf5 (diff)
downloadorg.eclipse.riena-5d9e5af95d146d2fd742acd1a708de75beeeb4d5.zip
org.eclipse.riena-5d9e5af95d146d2fd742acd1a708de75beeeb4d5.tar.gz
org.eclipse.riena-5d9e5af95d146d2fd742acd1a708de75beeeb4d5.tar.bz2
disable to force lazy or starting bundles
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java8
1 files changed, 6 insertions, 2 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 715ce58..f1b7fe2 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
@@ -56,8 +56,12 @@ public class Activator extends Plugin {
forceStart = "true";
}
if (forceStart != null && forceStart.equals("true")) {
- // STARTING == LAZY, so start that also
- if (bundle.getState() == Bundle.RESOLVED || bundle.getState() == Bundle.STARTING) {
+ // TODO STARTING == LAZY, so start that also, STARTING is
+ // disabled, bundles with forceStart should not be LAZY
+ if (bundle.getState() == Bundle.RESOLVED/*
+ * || bundle.getState() ==
+ * Bundle.STARTING
+ */) {
bundle.start();
System.out.println(bundle.getSymbolicName() + " forced autostart successfully");
} else {