*/\r
protected Properties prepareAllProperties(File slcRootFile) {\r
try {\r
+ final String fileUrlPrefix ="";\r
+\r
Properties all = new Properties();\r
all.putAll(System.getProperties());\r
all.put(ROOT_FILE_PROPERTY, slcRootFile.getCanonicalPath());\r
final File workDir;\r
// Root dir\r
final File rootDir = slcRootFile.getParentFile();\r
- all.setProperty(ROOT_DIR_PROPERTY, rootDir.getCanonicalPath());\r
+ all.setProperty(ROOT_DIR_PROPERTY, fileUrlPrefix\r
+ + rootDir.getCanonicalPath());\r
\r
// Conf dir\r
if (all.getProperty(CONF_DIR_PROPERTY) == null) {\r
confDir = new File(rootProps.getProperty(CONF_DIR_PROPERTY,\r
rootDir.getAbsolutePath() + "/../conf"))\r
.getCanonicalFile();\r
- all.setProperty(CONF_DIR_PROPERTY, confDir.getAbsolutePath());\r
+ all.setProperty(CONF_DIR_PROPERTY, fileUrlPrefix\r
+ + confDir.getAbsolutePath());\r
} else {\r
confDir = new File(all.getProperty(CONF_DIR_PROPERTY))\r
.getCanonicalFile();\r
workDir = new File(rootProps.getProperty(WORK_DIR_PROPERTY,\r
rootDir.getAbsolutePath() + "/../work"))\r
.getCanonicalFile();\r
- all.setProperty(WORK_DIR_PROPERTY, workDir.getAbsolutePath());\r
+ all.setProperty(WORK_DIR_PROPERTY, fileUrlPrefix\r
+ + workDir.getAbsolutePath());\r
} else {\r
workDir = new File(all.getProperty(WORK_DIR_PROPERTY))\r
.getCanonicalFile();\r