This commit is contained in:
2024-10-09 22:51:52 +03:00
parent 6252af944e
commit 428a056586
7 changed files with 9 additions and 704 deletions

View File

@@ -12,7 +12,7 @@ import java.awt.*;
import java.util.LinkedHashMap;
import java.util.Stack;
public class CommonUI {
public static boolean active=true; //есть ли интерфейс. в консольных версиях не нужен.
public static boolean active=false; //есть ли интерфейс. в консольных версиях не нужен.
public static MenuElement[] last_menu_path; //для меню
public static boolean isActive() {
return active;

View File

@@ -9,7 +9,7 @@ import java.io.File;
public class PublishTestingServer extends RepositoryServerSSHPass {
@Override
protected String getServerFileName() {
return "_VisualDVM.TestingSystem.jar";
return "TestingSystem.jar";
}
@Override
protected String getServerHomeName() {

View File

@@ -4,7 +4,7 @@ import Visual_DVM_2021.Passes.SSH.RepositoryServerSSHPass;
public class ShutdownTestingServer extends RepositoryServerSSHPass {
@Override
protected String getServerFileName() {
return "_VisualDVM.TestingSystem.jar";
return "TestingSystem.jar";
}
@Override
protected String getServerHomeName() {

View File

@@ -28,6 +28,6 @@ public class StartTestingServer extends RepositoryServerSSHPass {
}
@Override
protected String getServerFileName() {
return "_VisualDVM.TestingSystem.jar";
return "TestingSystem.jar";
}
}

View File

@@ -96,7 +96,7 @@ public class MachineProcess extends DBObject {
File workspace = getWorkspace();
Utils.CheckAndCleanDirectory(workspace);
//копирование визуализатора
File src = new File(CommonUtils.getHomeDirectory(), "_VisualDVM.TestingSystem.jar");
File src = new File(CommonUtils.getHomeDirectory(), "TestingSystem.jar");
File supervisor = new File(workspace, "VisualSapfor.jar");
FileUtils.copyFile(src, supervisor);
//создание настроек

View File

@@ -91,7 +91,7 @@ public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
protected void PackageWorkspaceCreation() throws Exception {
//копирование визуализатора
File visualiser = new File(workspace, "VisualSapfor.jar");
FileUtils.copyFile(new File(CommonUtils.getHomeDirectory(), "_VisualDVM.TestingSystem.jar"), visualiser);
FileUtils.copyFile(new File(CommonUtils.getHomeDirectory(), "TestingSystem.jar"), visualiser);
//создание настроек
GlobalProperties properties = new GlobalProperties(Global.properties);
properties.Mode = Mode.Package;