no message

This commit is contained in:
2024-10-07 22:04:09 +03:00
parent 7fac84740d
commit 17c0bf7eb3
103 changed files with 560 additions and 491 deletions

View File

@@ -54,12 +54,12 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
mode = Mode.ProjectInfo;
target = (db_project_info) arg;
dir = target.Home;
Global.Log.Print(DebugPrintLevel.Project, "готовая версия " + CommonUtils.Brackets(dir.getAbsolutePath()));
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "готовая версия " + CommonUtils.Brackets(dir.getAbsolutePath()));
return needsOpen();
}
}
if ((dir != null) && needsOpen()) {
Global.Log.Print(DebugPrintLevel.Project, CommonUtils.Brackets(dir.toString()));
CommonUtils.MainLog.Print(DebugPrintLevel.Project, CommonUtils.Brackets(dir.toString()));
if (!dir.isDirectory()) {
Log.Writeln_(CommonUtils.Brackets(dir) + "\е является папкой!");
return false;
@@ -85,7 +85,7 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
db_project_info root = Current.getRoot();
db_project_info project = root.find_version_r(dir);
if (project != null) {
Global.Log.Print("версия найдена в текущем корне");
CommonUtils.MainLog.Print("версия найдена в текущем корне");
//версия уже существует. и выстраивать дерево второй раз не нужно.
//как и отображать дерево.
target = project;
@@ -94,7 +94,7 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
return;
}
}
Global.Log.Print(DebugPrintLevel.Project, "построение дерева версий");
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "построение дерева версий");
target = new db_project_info(dir);
new_root = target.CreateVersionsTree();
target.Open();