summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-02-11 10:46:42 (EST)
committerChristian Campo2008-02-11 10:46:42 (EST)
commitd84896064a3944346c7af2e3e3adf87129666b5a (patch)
tree1c558d78f3b807841529fd3f7de40609f22511c1
parent93c5553aa373d85f2d7d378760780c6ee47c6ac1 (diff)
downloadorg.eclipse.riena-d84896064a3944346c7af2e3e3adf87129666b5a.zip
org.eclipse.riena-d84896064a3944346c7af2e3e3adf87129666b5a.tar.gz
org.eclipse.riena-d84896064a3944346c7af2e3e3adf87129666b5a.tar.bz2
no message for equinox.log and equinox.cm if they are already started
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/internal/core/Activator.java5
1 files changed, 3 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 8147ed4..715ce58 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,8 +50,9 @@ public class Activator extends Plugin {
Bundle[] bundles = context.getBundles();
for (Bundle bundle : bundles) {
String forceStart = (String) bundle.getHeaders().get("Riena-ForceStart");
- if (bundle.getSymbolicName().equals("org.eclipse.equinox.cm")
- || bundle.getSymbolicName().equals("org.eclipse.equinox.log")) {
+ if (bundle.getState() != Bundle.ACTIVE
+ && (bundle.getSymbolicName().equals("org.eclipse.equinox.cm") || bundle.getSymbolicName().equals(
+ "org.eclipse.equinox.log"))) {
forceStart = "true";
}
if (forceStart != null && forceStart.equals("true")) {