public final static String WORK_DIR_PROPERTY = "slc.workDir";\r
/**\r
* Comma-separated list of property file names to load from the conf dir and\r
public final static String WORK_DIR_PROPERTY = "slc.workDir";\r
/**\r
* Comma-separated list of property file names to load from the conf dir and\r
public static String DIR_DESCRIPTION_PROPERTY = "slc.dirDescription";\r
\r
private String slcRootFileName = "slcRoot.properties";\r
public static String DIR_DESCRIPTION_PROPERTY = "slc.dirDescription";\r
\r
private String slcRootFileName = "slcRoot.properties";\r
File projectBaseDir = project.getBaseDir();\r
File slcRootFile = findSlcRootFile(projectBaseDir);\r
if (slcRootFile == null) {\r
File projectBaseDir = project.getBaseDir();\r
File slcRootFile = findSlcRootFile(projectBaseDir);\r
if (slcRootFile == null) {\r
// pass the project properties through the System properties\r
System.getProperties().putAll((Map<?, ?>) project.getUserProperties());\r
Properties all = prepareAllProperties(slcRootFile);\r
// pass the project properties through the System properties\r
System.getProperties().putAll((Map<?, ?>) project.getUserProperties());\r
Properties all = prepareAllProperties(slcRootFile);\r
Properties all = new Properties();\r
all.putAll(System.getProperties());\r
all.put(ROOT_FILE_PROPERTY, slcRootFile.getCanonicalPath());\r
Properties all = new Properties();\r
all.putAll(System.getProperties());\r
all.put(ROOT_FILE_PROPERTY, slcRootFile.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
\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
workDir = new File(rootProps.getProperty(WORK_DIR_PROPERTY,\r
rootDir.getAbsolutePath() + "/../work"))\r
.getCanonicalFile();\r
workDir = new File(rootProps.getProperty(WORK_DIR_PROPERTY,\r
rootDir.getAbsolutePath() + "/../work"))\r
.getCanonicalFile();\r