This commit is contained in:
2024-05-17 01:33:39 +03:00
parent 264fc3b955
commit d29c2ba93c
11 changed files with 115 additions and 43 deletions

View File

@@ -16,6 +16,7 @@ import TestingSystem.SAPFOR.Json.SapforTestingSet_json;
import TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration;
import TestingSystem.SAPFOR.SapforPackage.SapforPackage;
import TestingSystem.SAPFOR.SapforTask.SapforTask;
import TestingSystem.SAPFOR.ServerSapfor.ServerSapforState;
import Visual_DVM_2021.Passes.AddObjectPass;
import Visual_DVM_2021.Passes.Server.TestingSystemPass;
@@ -84,6 +85,10 @@ public class CloneSapforPackage extends AddObjectPass<SapforPackage> {
//--
if (!Current.Check(Log, Current.ServerSapfor))
return false;
if (!Current.getServerSapfor().state.equals(ServerSapforState.Done)) {
Log.Writeln_("Выбранная версия SAPFOR не собрана!");
return false;
}
//--
srcPackages = Global.testingServer.db.sapforPackages.getCheckedOrCurrent();
if (srcPackages.isEmpty()) {