]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/Activator.java
Fix issue with the ordering of event on the server side.
[gpl/argeo-slc.git] / runtime / org.argeo.slc.osgiboot / src / main / java / org / argeo / slc / osgiboot / Activator.java
index 6d5a6ed02ee3d4317384a98d9f7c772477f57b92..4457a4c51a9d119650289a0c16bc57fbed50a1c6 100644 (file)
@@ -36,10 +36,10 @@ public class Activator implements BundleActivator {
                        info("SLC OSGi bootstrap starting...");
                        // installUrls(bundleContext, getDevLocationsUrls());
 
-                       installUrls(bundleContext, getLocationsUrls());
-
                        installUrls(bundleContext, getBundlesUrls());
 
+                       installUrls(bundleContext, getLocationsUrls());
+
                        installUrls(bundleContext, getMavenUrls());
 
                        startBundles(bundleContext);
@@ -62,8 +62,9 @@ public class Activator implements BundleActivator {
                                if (installedBundles.containsKey(url)) {
                                        Bundle bundle = installedBundles.get(url);
                                        // bundle.update();
-                                       info("Bundle " + bundle.getSymbolicName()
-                                                       + " already installed from " + url);
+                                       if (debug)
+                                               debug("Bundle " + bundle.getSymbolicName()
+                                                               + " already installed from " + url);
                                } else {
                                        Bundle bundle = bundleContext.installBundle(url);
                                        if (debug)