no message

This commit is contained in:
2024-10-07 22:22:51 +03:00
parent 17c0bf7eb3
commit 3516b58127
34 changed files with 115 additions and 202 deletions

View File

@@ -99,7 +99,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
Print("Отправить клиенту архив всех архивов баг репортов");
response = new ServerExchangeUnit_2021(ServerCode.OK);
ZipFolderPass zip = new ZipFolderPass();
File archives = new File(Utils.getDateName("Bugs"));
File archives = new File(CommonUtils.getDateName("Bugs"));
if (zip.Do("Bugs", archives.getAbsolutePath())) {
response.object = CommonUtils.fileToBytes(archives);
Print("Архив успешно запакован");
@@ -318,7 +318,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
+ CommonUtils.DQuotes(program.getName());
//--
File fileWorkspace = program.getParentFile();
Process process = Utils.startScript(workspace, fileWorkspace, Utils.getDateName("convert_script"), command);
Process process = Utils.startScript(workspace, fileWorkspace, CommonUtils.getDateName("convert_script"), command);
process.waitFor();
String convertationOut = Utils.readAllOutput(process);
convertationOut = convertationOut.replace(program.getName(), fileName); //для учета пути.