Allow upper case characters in app names by interpreting the property value as

app name in apps.properties, if it is defined.
This commit is contained in:
hns 2003-08-05 15:54:29 +00:00
parent e8a45cb3b4
commit 092cb230c0

View file

@ -150,6 +150,12 @@ public class ApplicationManager implements XmlRpcHandler {
String appName = (String) e.nextElement();
if (appName.indexOf(".") == -1) {
String appValue = props.getProperty(appName);
if (appValue != null && appValue.length() > 0) {
appName = appValue;
}
AppDescriptor desc = new AppDescriptor(appName);
desc.start();
}