in server/src/main/java/org/apache/hupa/server/ioc/GuiceListener.java [100:119]
public Properties loadProperties() {
Properties properties = null;
if (demoHostName == null || System.getProperty(demoHostName) == null) {
List<String> configurationList = new ArrayList<String>();
configurationList.add(System.getProperty(SYS_PROP_CONFIG_FILE));
configurationList.add(System.getenv("HOME") + "/.hupa/" + CONFIG_FILE_NAME);
configurationList.add("/etc/default/hupa");
configurationList.add(servletContextRealPath + "/" + CONFIG_DIR_IN_WAR + CONFIG_FILE_NAME);
for (String name : configurationList) {
System.out.println(name);
properties = ConfigurationProperties.loadProperties(name);
if (properties != null) {
break;
}
}
}
return properties == null ? demoProperties : properties;
}