fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -28,6 +28,6 @@ public class StartTestingServer extends RepositoryServerSSHPass {
|
||||
}
|
||||
@Override
|
||||
protected String getServerFileName() {
|
||||
return "_VisualDVM.TestingSystem.jar";
|
||||
return "TestingSystem.jar";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
//создание настроек
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user