]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/OsgiBoot.java
Improve provisioning via OSGiBoot
[gpl/argeo-slc.git] / runtime / org.argeo.slc.osgiboot / src / main / java / org / argeo / slc / osgiboot / OsgiBoot.java
index 788c0babfdd04ff2c39fe7577ee1ab6ea862fe60..dbcb458f6ccab95902c6ad4d30538f8b7dfbb4d0 100644 (file)
@@ -193,6 +193,8 @@ public class OsgiBoot {
                if (modulesUrlStr == null)
                        return urls;
 
+               String baseUrl = getProperty(PROP_SLC_OSGI_BASE_URL);
+
                Map installedBundles = getBundles();
 
                BufferedReader reader = null;
@@ -207,6 +209,8 @@ public class OsgiBoot {
                                String moduleName = st.nextToken();
                                String moduleVersion = st.nextToken();
                                String url = st.nextToken();
+                               if (baseUrl != null)
+                                       url = baseUrl + url;
 
                                if (installedBundles.containsKey(moduleName)) {
                                        Bundle bundle = (Bundle) installedBundles.get(moduleName);