Start working on static CMS.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / Activator.java
index ae482d792e5703d7a935abed11c4d9e8638e92be..8086c8636440f9700ecb8e58f894d1a13731730c 100644 (file)
@@ -162,17 +162,7 @@ public class Activator implements BundleActivator {
 
        private void initNode() throws IOException {
                // Node state
-//             Path stateUuidPath = bc.getDataFile("stateUuid").toPath();
-//             String stateUuid;
-//             if (Files.exists(stateUuidPath)) {
-//                     stateUuid = Files.readAllLines(stateUuidPath).get(0);
-//             } else {
-//                     stateUuid = bc.getProperty(Constants.FRAMEWORK_UUID);
-//                     Files.write(stateUuidPath, stateUuid.getBytes());
-//             }
                nodeState = new CmsState();
-//             Dictionary<String, Object> regProps = LangUtils.dico(Constants.SERVICE_PID, NodeConstants.NODE_STATE_PID);
-//             regProps.put(NodeConstants.CN, stateUuid);
                registerService(NodeState.class, nodeState, null);
 
                // Node deployment