String serverUrl = SystemUtils.getSystemProperty("SALSA_SERVER_URL");
String login = SystemUtils.getSystemProperty("SALSA_LOGIN");
splash.progress(20);
if (tangoHost == null || tangoHost.trim().isEmpty()) {
printCorrectUsageAndExit(new SalsaMissingPropertyException("TANGO_HOST"));
}
else if (serverUrl == null || serverUrl.trim().isEmpty()) {
printCorrectUsageAndExit(new SalsaMissingPropertyException("SALSA_SERVER_URL"));
}
else if (login == null || login.trim().isEmpty()) {
printCorrectUsageAndExit(new SalsaMissingPropertyException("SALSA_LOGIN"));
}
else {
splash.setMessage("Building controller ...");
final ApplicationController applicationController = new ApplicationController();