удаление отладочной печати сравнения и не только

This commit is contained in:
2024-07-22 00:57:05 +03:00
parent 3374c9783b
commit 53ad5e637f
76 changed files with 78 additions and 328 deletions

View File

@@ -68,7 +68,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
targets
);
Email(message);
System.out.println("EMAIL ON START DONE");
}
}
@Override
@@ -252,8 +251,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
Utils.ReadAllText(vFile),
"\n", "\r"
);
System.out.println(vFile.getAbsolutePath());
System.out.println(Utils.DQuotes(v_string));
response_actual_versions_.put(componentType, v_string);
}
response = new ServerExchangeUnit_2021(ServerCode.OK);
@@ -270,8 +267,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
Utils.ReadAllText(vFile),
"\n", "\r"
);
System.out.println(vFile.getAbsolutePath());
System.out.println(Utils.DQuotes(mv_string));
response_minimal_versions_.put(componentType, mv_string);
}
response = new ServerExchangeUnit_2021(ServerCode.OK);
@@ -311,7 +306,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
String output = "";
for (String fileName : filesNames) {
File program = Paths.get(project.getAbsolutePath(), fileName).toFile();
System.out.println(program.getAbsolutePath());
//--
File convertedProgram = Paths.get(program.getParent(),
Utils.getFileNameWithoutExtension(program) + ".DVMH." +
@@ -322,7 +316,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
projectLanguage.getDVMCompile() + "dv " +
options + " "
+ Utils.DQuotes(program.getName());
System.out.println(command);
//--
File fileWorkspace = program.getParentFile();
Process process = Utils.startScript(workspace, fileWorkspace, Utils.getDateName("convert_script"), command);
@@ -350,7 +343,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
//--
} else
throw new RepositoryRefuseException("Внутренняя ошибка. Не удалось распаковать проект");
// File archive = Paths.get(workspace.getAbsolutePath());
break;
}
} else
@@ -397,7 +389,6 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
File bugsArchives = Paths.get(todayBackUp.getAbsolutePath(), "Bugs.zip").toFile();
//-
// Чистка старых бекапов на самом сервере.
System.out.println(todayBackUp.getAbsolutePath());
Utils.keepNewFiles(todayBackUp.getParentFile(), 2);
if (!todayBackUpArchive.exists()) {
FileUtils.forceMkdir(todayBackUp);