// osgi.conf("osgi.clean", true);
osgi.launch();
+openUi();
// wait for UI
-osgi.spring("org.argeo.cms.ui.workbench.rap");
-var appUrl = "http://localhost:" + osgi.httpPort + "/ui/node";
-$EXEC("/usr/bin/chromium-browser --app=" + appUrl);
-
-// shutdown when the windows is closed
-osgi.shutdown();
\ No newline at end of file
+//osgi.spring("org.argeo.cms.ui.workbench.rap");
+//var appUrl = "http://localhost:" + osgi.httpPort + "/ui/node";
+//$EXEC("/usr/bin/chromium-browser --app=" + appUrl);
+//
+//// shutdown when the windows is closed
+//osgi.shutdown();
\ No newline at end of file
+ policyFile);
System.setProperty("log4j.configuration", "file://" + appConf
+ "/log4j.properties");
+}
+
+function openUi(){
+ osgi.spring("org.argeo.cms.ui.workbench.rap");
+ var appUrl = "http://localhost:" + osgi.httpPort + "/ui/node";
+ $EXEC("/usr/bin/chromium-browser --app=" + appUrl);
+ // shutdown when the window is closed
+ osgi.shutdown();
}
\ No newline at end of file