no message

This commit is contained in:
2024-10-11 00:00:30 +03:00
parent a11b7711f7
commit f317ab1aa1
341 changed files with 1866 additions and 1688 deletions

View File

@@ -1,6 +1,6 @@
package Visual_DVM_2021.Passes.All;
import Common.Current_;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
import _VisualDVM.Current;
import _VisualDVM.Visual.UI;
import _VisualDVM.Utils;
@@ -29,13 +29,13 @@ public class Run extends Pass<db_project_info> {
protected void performPreparation() throws Exception {
runTasks = Current.getRunConfiguration().generateRunTasks(target, Current.getCompilationTask());
for (RunTask runTask : runTasks) {
CommonUtils.db.Insert(runTask);
Utils_.db.Insert(runTask);
Utils.forceDeleteWithCheck(runTask.getLocalWorkspace());
}
}
@Override
protected void showPreparation() throws Exception {
((GlobalDatabase)CommonUtils.db).runTasks.ShowUI();
((GlobalDatabase) Utils_.db).runTasks.ShowUI();
}
@Override
protected boolean canStart(Object... args) {
@@ -60,14 +60,14 @@ public class Run extends Pass<db_project_info> {
protected void body() throws Exception {
switch (Current.getMachine().type) {
case Local:
if (CommonUtils.isWindows()) {
if (Utils_.isWindows()) {
subpass = passes.get(PassCode.WindowsLocalRun);
} else
subpass = passes.get(PassCode.LinuxLocalRun);
break;
case Undefined:
case MVS_cluster:
throw new PassException("Запуск не реализован для типа машины " + CommonUtils.DQuotes(Current.getMachine().type));
throw new PassException("Запуск не реализован для типа машины " + Utils_.DQuotes(Current.getMachine().type));
/*
case MVS_cluster:
subpass = passes.get(PassCode_2021.MVSRun);
@@ -84,8 +84,8 @@ public class Run extends Pass<db_project_info> {
boolean task_completed = false;
task.setProgress(i, runTasks.size());
//-
((GlobalDatabase)CommonUtils.db).runTasks.RefreshUI();
((GlobalDatabase)CommonUtils.db).runTasks.SetCurrentObjectUI(task.id);
((GlobalDatabase) Utils_.db).runTasks.RefreshUI();
((GlobalDatabase) Utils_.db).runTasks.SetCurrentObjectUI(task.id);
//-
subpass.Do(task, target);
//-
@@ -105,7 +105,7 @@ public class Run extends Pass<db_project_info> {
break;
}
//-
((GlobalDatabase)CommonUtils.db).runTasks.RefreshUI();
((GlobalDatabase) Utils_.db).runTasks.RefreshUI();
UI.getDebugWindow().ShowCurrentRunTask();
//-
if (!task_completed) break;