-// if (args.length < 1)
-// throw new IllegalArgumentException("A relative configuration directory must be specified");
-// Path configArea = Paths.get(System.getProperty("user.dir"), args[0]);
-
- // System.out.println("## Start with PID " + ProcessHandle.current().pid());
- // System.out.println("user.dir=" + System.getProperty("user.dir"));
-
- Path writableArea = Paths.get(env.get(ENV_STATE_DIRECTORY));
- Path configArea = Paths.get(env.get(ENV_CONFIGURATION_DIRECTORY));
- RuntimeManagerMain runtimeManager = new RuntimeManagerMain(configArea, writableArea);
+ Path writableArea = getLocalPath(InitConstants.PROP_ARGEO_STATE_AREA, ENV_STATE_DIRECTORY);
+ Path configArea =getLocalPath(InitConstants.PROP_ARGEO_CONFIG_AREA, ENV_CONFIGURATION_DIRECTORY);
+ Path cacheArea = getLocalPath(InitConstants.PROP_ARGEO_CACHE_AREA, ENV_CACHE_DIRECTORY);
+ RuntimeManagerMain runtimeManager = new RuntimeManagerMain(configArea, writableArea, cacheArea);