no message
This commit is contained in:
@@ -187,7 +187,6 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
|
||||
//---
|
||||
public TestingPlanner(){}
|
||||
public TestingPlanner(String... args) {
|
||||
CommonUtils.isWindows = System.getProperty("os.name").startsWith("Windows");
|
||||
//---
|
||||
String machineAddress = args[0];
|
||||
int machinePort = Integer.parseInt(args[1]);
|
||||
@@ -196,7 +195,7 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
|
||||
String userWorkspace = args[4];
|
||||
String testingSystemRoot = args[5];
|
||||
serverName = args[6];
|
||||
supervisorHome = new File(CommonUtils.Home); //при инициализации это текущая папка.
|
||||
supervisorHome = CommonUtils.getHomeDirectory(); //при инициализации это текущая папка.
|
||||
//---
|
||||
CommonUtils.MainLog = new Loggable() {
|
||||
@Override
|
||||
@@ -205,12 +204,12 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
|
||||
}
|
||||
@Override
|
||||
public String getLogName() {
|
||||
return CommonUtils.mode.toString();
|
||||
return Global.mode.toString();
|
||||
}
|
||||
};
|
||||
CommonUtils.MainLog.ClearLog();
|
||||
//--
|
||||
CommonUtils.Home = testingSystemRoot;
|
||||
CommonUtils.setHomePath(testingSystemRoot);
|
||||
Global.CheckTestingSystemDirectories();
|
||||
//---
|
||||
machine = new Machine(machineAddress, machineAddress, machinePort, MachineType.Server);
|
||||
@@ -221,7 +220,7 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
|
||||
Print("userName=" + CommonUtils.Brackets(userName));
|
||||
Print("userPassword=" + CommonUtils.Brackets(userPassword));
|
||||
Print("userWorkspace=" + CommonUtils.Brackets(userWorkspace));
|
||||
Print("root=" + CommonUtils.Brackets(CommonUtils.Home));
|
||||
Print("root=" + CommonUtils.Brackets(CommonUtils.getHomePath()));
|
||||
Print("serverName=" + serverName);
|
||||
Print("=====");
|
||||
//----
|
||||
|
||||
Reference in New Issue
Block a user