fix.убрал из общей(в перспективе библиотечной) части ссылки на частные объекты визуализатора

This commit is contained in:
2024-10-16 00:40:45 +03:00
parent b79474fdd1
commit 071aab5ea6
54 changed files with 166 additions and 113 deletions

View File

@@ -102,7 +102,7 @@ public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
procBuilder.directory(workspace);
procBuilder.start();
//--->>
File started = new File(workspace, Constants.STARTED);
File started = new File(workspace, CommonConstants.STARTED);
while (!started.exists()) {
Print("waiting for package start...");
Utils_.sleep(1000);
@@ -128,8 +128,8 @@ public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
}
}
//--
File done = new File(workspace, Constants.DONE);
File aborted = new File(workspace, Constants.ABORTED);
File done = new File(workspace, CommonConstants.DONE);
File aborted = new File(workspace, CommonConstants.ABORTED);
if (done.exists()) {
testingPackage.state = TasksPackageState.Analysis;
state_changed = true;
@@ -154,10 +154,10 @@ public class SapforTestingPlanner extends TestingPlanner<SapforPackage> {
protected void Kill() throws Exception {
File workspace = testingPackage.getLocalWorkspace();
//----
File interrupt_file = new File(workspace, Constants.INTERRUPT);
File interrupt_file = new File(workspace, CommonConstants.INTERRUPT);
//----
FileUtils.writeStringToFile(interrupt_file, new Date().toString());
File aborted_file = new File(workspace, Constants.ABORTED);
File aborted_file = new File(workspace, CommonConstants.ABORTED);
do {
Print("waiting for interrupt...");
Thread.sleep(1000);