no message

This commit is contained in:
2024-10-07 22:04:09 +03:00
parent 7fac84740d
commit 17c0bf7eb3
103 changed files with 560 additions and 491 deletions

View File

@@ -188,7 +188,7 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
//---
public TestingPlanner(){}
public TestingPlanner(String... args) {
Global.isWindows = System.getProperty("os.name").startsWith("Windows");
CommonUtils.isWindows = System.getProperty("os.name").startsWith("Windows");
//---
String machineAddress = args[0];
int machinePort = Integer.parseInt(args[1]);
@@ -197,9 +197,9 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
String userWorkspace = args[4];
String testingSystemRoot = args[5];
serverName = args[6];
supervisorHome = new File(Global.Home); //при инициализации это текущая папка.
supervisorHome = new File(CommonUtils.Home); //при инициализации это текущая папка.
//---
Global.Log = new Loggable() {
CommonUtils.MainLog = new Loggable() {
@Override
public String getLogHomePath() {
return supervisorHome.getAbsolutePath();
@@ -209,9 +209,9 @@ public abstract class TestingPlanner<P extends TestingPackage> extends Repositor
return Current.mode.toString();
}
};
Global.Log.ClearLog();
CommonUtils.MainLog.ClearLog();
//--
Global.Home = testingSystemRoot;
CommonUtils.Home = testingSystemRoot;
Global.CheckTestingSystemDirectories();
//---
machine = new Machine(machineAddress, machineAddress, machinePort, MachineType.Server);
@@ -222,7 +222,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(Global.Home));
Print("root=" + CommonUtils.Brackets(CommonUtils.Home));
Print("serverName=" + serverName);
Print("=====");
//----