Just getting used to osgidevelop
authorSonja Krause-Harder <[email protected]>
Sat, 14 Sep 2013 13:18:29 +0000 (14 15:18 +0200)
committerSonja Krause-Harder <[email protected]>
Sat, 14 Sep 2013 13:18:29 +0000 (14 15:18 +0200)
config/develop.properties
de.rcane.workflows.osgi/src/de/rcane/workflows/osgi/Main.java

index 59c86cf..de1bef9 100644 (file)
@@ -2,3 +2,8 @@
 # directory and started by default
 felix.auto.deploy.dir    = bundle
 felix.auto.deploy.action = install,start
+
+# the location where felix will install all bundles
+# if not set, felix uses felix-cache below its working directory
+org.osgi.framework.storage = /var/run/workflows
+felix.cache.rootdir        = /
index ec3148e..6c5dc6d 100644 (file)
@@ -33,6 +33,7 @@ public class Main
             m_fwk = getFrameworkFactory().newFramework(null);
             m_fwk.init();
             AutoProcessor.process(props, m_fwk.getBundleContext());
+            System.out.println("cache in: " + props.getProperty("org.osgi.framework.storage"));
             System.out.println("bundles should be installed");
             m_fwk.start();
             m_fwk.waitForStop(0);