X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.lib.detached%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Flib%2Fdetached%2FDetachedLauncher.java;h=5f2bbd2e977a0aa800ea42d15a700c009a7bf429;hb=85b62369433edbaf51d5e3c6e7461b426970eabf;hp=4ab0f6067d1d95cd4e511a66aed6df442328bee9;hpb=0d68d3b6e070e53448164ee3b3413b548a5f7a3b;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.lib.detached/src/main/java/org/argeo/slc/lib/detached/DetachedLauncher.java b/runtime/org.argeo.slc.lib.detached/src/main/java/org/argeo/slc/lib/detached/DetachedLauncher.java index 4ab0f6067..5f2bbd2e9 100644 --- a/runtime/org.argeo.slc.lib.detached/src/main/java/org/argeo/slc/lib/detached/DetachedLauncher.java +++ b/runtime/org.argeo.slc.lib.detached/src/main/java/org/argeo/slc/lib/detached/DetachedLauncher.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.slc.lib.detached; import java.io.File; @@ -26,10 +41,10 @@ public class DetachedLauncher extends JvmProcess implements BundleContextAware, private ResourceLoader resourceLoader = null; private Resource osgiFramework = null; - private String osgibootBundleName = "org.argeo.slc.osgiboot"; + private String osgibootBundleName = "org.argeo.osgi.boot"; private String equinoxBundleName = "org.eclipse.osgi"; - private String xmlapisBundleName = "com.springsource.org.apache.xmlcommons"; - private String xercesBundleName = "com.springsource.org.apache.xerces"; + private String xmlapisBundleName = "org.apache.xmlcommons"; + private String xercesBundleName = "org.apache.xerces"; private List excludeBundleNames = new ArrayList(); private List includeBundleUrls = new ArrayList(); @@ -43,7 +58,7 @@ public class DetachedLauncher extends JvmProcess implements BundleContextAware, public DetachedLauncher() { // Override defaults setSynchronous(false); - setMainClass("org.argeo.slc.osgiboot.Launcher"); + setMainClass("org.argeo.osgi.boot.Launcher"); } public void afterPropertiesSet() throws Exception { @@ -92,7 +107,7 @@ public class DetachedLauncher extends JvmProcess implements BundleContextAware, osgiLocations.append(location); if (log.isTraceEnabled()) log.trace("Added bundle " + name - + " to slc.osgi.locations: " + location); + + " to argeo.osgi.locations: " + location); } else { if (osgiBundles.length() != 0) osgiBundles.append(','); @@ -114,7 +129,7 @@ public class DetachedLauncher extends JvmProcess implements BundleContextAware, getSystemProperties().setProperty("osgi.bundles", osgiBundles.toString()); - getSystemProperties().setProperty("slc.osgi.locations", + getSystemProperties().setProperty("argeo.osgi.locations", osgiLocations.toString()); super.afterPropertiesSet();