]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/src/test/java/org/argeo/slc/demo/StartStopDemoTest.java
Restructure OSGi launching
[gpl/argeo-slc.git] / demo / src / test / java / org / argeo / slc / demo / StartStopDemoTest.java
index 6115c779276336b5c7ee4ee12e4ed88904e43a21..3feba8e596a36aa58e42f8a53282956a9a5b0dc4 100644 (file)
@@ -7,21 +7,22 @@ import org.argeo.slc.equinox.unit.AbstractOsgiRuntimeTestCase;
 import org.argeo.slc.osgiboot.OsgiBoot;
 
 public class StartStopDemoTest extends AbstractOsgiRuntimeTestCase {
+
        public void testStartStop() throws Exception {
                assertBundleApplicationContext("org.argeo.slc.agent");
                assertStartedBundlesApplicationContext("org.argeo.slc.demo");
        }
 
        protected void installBundles() throws Exception {
-               osgiBoot.installUrls(osgiBoot.getBundlesUrls(OsgiBoot.DEFAULT_BASE_URL,
-                               "target/dependency;in=*.jar"));
+               // osgiBoot.installUrls(osgiBoot.getBundlesUrls(OsgiBoot.DEFAULT_BASE_URL,
+               // "target/dependency;in=*.jar"));
                osgiBoot.installUrls(osgiBoot.getLocationsUrls(
                                OsgiBoot.DEFAULT_BASE_URL, System
                                                .getProperty("java.class.path")));
                osgiBoot.installUrls(osgiBoot.getBundlesUrls(OsgiBoot.DEFAULT_BASE_URL,
                                "site;in=*"));
-//             osgiBoot.installUrls(osgiBoot.getBundlesUrls(OsgiBoot.DEFAULT_BASE_URL,
-//                             "../server/org.argeo.slc.siteserver/bundles;in=*"));
+               osgiBoot.installUrls(osgiBoot.getBundlesUrls(OsgiBoot.DEFAULT_BASE_URL,
+                               "../server/org.argeo.slc.siteserver/bundles;in=*"));
        }
 
        protected List<String> getBundlesToStart() {