no message

This commit is contained in:
2024-10-09 23:37:58 +03:00
parent eb278676cc
commit d1ffab1e70
299 changed files with 1844 additions and 1539 deletions

View File

@@ -1,5 +1,5 @@
package Visual_DVM_2021.Passes.All;
import Common.CurrentAnchestor;
import Common.Current_;
import Common.Utils.CommonUtils;
import Common.Visual.CommonUI;
import _VisualDVM.Current;
@@ -13,7 +13,7 @@ import _VisualDVM.ProjectData.Project.db_project_info;
import _VisualDVM.Repository.Server.ServerCode;
import _VisualDVM.Repository.Server.ServerExchangeUnit_2021;
import Visual_DVM_2021.Passes.Server.ComponentsRepositoryPass;
import Visual_DVM_2021.Passes.PassCode_2021;
import Visual_DVM_2021.Passes.PassCode;
import org.apache.commons.io.FileUtils;
import javax.swing.*;
@@ -41,7 +41,7 @@ public class DVMConvertProject extends ComponentsRepositoryPass<db_project_info>
version = null;
badFiles = "";
//--
if (CurrentAnchestor.Check(Log, Current.Project)) {
if (Current_.Check(Log, Current.Project)) {
target = Current.getProject();
programsToConvert = target.getPrograms().get(target.languageName);
programsNames = new Vector<>();
@@ -61,7 +61,7 @@ public class DVMConvertProject extends ComponentsRepositoryPass<db_project_info>
FileUtils.forceMkdir(cleanCopy);
archive = Paths.get(workspace.getAbsolutePath(), target.name + ".zip").toFile();
target.Clone(cleanCopy, false);
if (!passes.get(PassCode_2021.ZipFolderPass).Do(cleanCopy.getAbsolutePath(), archive.getAbsolutePath())) {
if (!passes.get(PassCode.ZipFolderPass).Do(cleanCopy.getAbsolutePath(), archive.getAbsolutePath())) {
Log.Writeln_("Не удалось создать архив проекта!");
return false;
}
@@ -107,7 +107,7 @@ public class DVMConvertProject extends ComponentsRepositoryPass<db_project_info>
versionArchive = new File(workspace, target.name + "_result.zip");
response.Unpack(versionArchive);
File result = new File(workspace, "result");
if (passes.get(PassCode_2021.UnzipFolderPass).Do(versionArchive.getAbsolutePath(), result.getAbsolutePath())) {
if (passes.get(PassCode.UnzipFolderPass).Do(versionArchive.getAbsolutePath(), result.getAbsolutePath())) {
if (target.last_modification == null) {
target.last_modification = new db_project_info(target,
"m",