import java.net.URISyntaxException;\r
import java.net.URL;\r
\r
-import javax.naming.ConfigurationException;\r
-\r
import org.apache.log4j.Logger;\r
\r
import compbio.util.PropertyHelper;\r
* \r
* Try 1 - succeed.\r
* \r
- * @return\r
+ * @return an instance\r
*/\r
public static PropertyHelper getPropertyHelper() {\r
if (ph == null) {\r
+ "Engine.cluster.properties");\r
File execProp = getResourceFromClasspath(confDir\r
+ "Executable.properties");\r
+ File gaProp = getResourceFromClasspath(confDir\r
+ + "GA.properties");\r
ph = new PropertyHelper(locEngineProp, clustEngineProp,\r
- execProp);\r
+ execProp, gaProp);\r
} catch (IOException e) {\r
log.warn(\r
"Cannot read property files! Reason: "\r
* binaries WEB-INF classes compbio engine conf If the structure changes it\r
* must be reflected in this method\r
* \r
- * @return\r
- * @throws ConfigurationException\r
+ * @return the local path\r
+ * @throws RuntimeException\r
+ * if cannot determine the local path\r
*/\r
public static String getLocalPath() {\r
String clname = PropertyHelperManager.class.getSimpleName();\r