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:
parent
e8a45cb3b4
commit
092cb230c0
1 changed files with 6 additions and 0 deletions
|
@ -150,6 +150,12 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
String appName = (String) e.nextElement();
|
String appName = (String) e.nextElement();
|
||||||
|
|
||||||
if (appName.indexOf(".") == -1) {
|
if (appName.indexOf(".") == -1) {
|
||||||
|
String appValue = props.getProperty(appName);
|
||||||
|
|
||||||
|
if (appValue != null && appValue.length() > 0) {
|
||||||
|
appName = appValue;
|
||||||
|
}
|
||||||
|
|
||||||
AppDescriptor desc = new AppDescriptor(appName);
|
AppDescriptor desc = new AppDescriptor(appName);
|
||||||
desc.start();
|
desc.start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue