Commit bb4d48ac authored by helene ortiz's avatar helene ortiz
Browse files

No commit message

No commit message
parent bbe066c4
......@@ -28,7 +28,6 @@ import java.util.Map;
import fr.ill.ics.cameo.Application;
import fr.ill.ics.cameo.ConnectionTimeout;
import fr.ill.ics.cameo.Server;
import fr.ill.ics.util.ConfigManager;
/**
*
......@@ -135,22 +134,6 @@ public class ServerDisconnected extends ServerConnectionState {
return "serverConnectionInitMessage";
}
private String getExecCommand() {
if (serverId.equals("real")) {
String serverFlag = "";
if (ConfigManager.getInstance().getBoolean("serverTestMode")) {
serverFlag = "test";
} else {
serverFlag = "start";
}
return System.getenv("NOMAD_HOME") + "/bin/nomadserver " + serverFlag;
}
return System.getenv("NOMAD_HOME") + "/bin/nomadserver sim " + serverId;
}
public boolean checkConnection(ServerConnection connection) {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment