no message
This commit is contained in:
@@ -1155,5 +1155,13 @@ public class Utils {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public static void createEmptyFile(String name) {
|
||||
File file = new File(name);
|
||||
try {
|
||||
FileUtils.writeStringToFile(file, "");
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,13 +79,7 @@ public class MachineQueueSupervisor extends TestingPlanner<DVMPackage> {
|
||||
Print("serverName=" + serverName);
|
||||
Print("=====");
|
||||
//----
|
||||
File started = new File(supervisorHome, Constants.STARTED);
|
||||
try {
|
||||
FileUtils.writeStringToFile(started, "");
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
Finalize("Can not start");
|
||||
}
|
||||
Utils.createEmptyFile(Constants.STARTED);
|
||||
}
|
||||
void CheckLocal() {
|
||||
local = false;
|
||||
|
||||
Reference in New Issue
Block a user