1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-10 22:41:43 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-01-29 17:30:31 +03:00
parent 3d128ec672
commit 3c0c5c8c0d
4 changed files with 6480 additions and 6476 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -132,6 +132,7 @@ EndFunction
Function CheckProjectExistence(Path)
OPI_TypeConversion.GetLine(Path);
OPI_Tools.RestoreEscapeSequences(Path);
ProjectFile = New File(Path);
Text = "The project file already exists!";
@@ -156,17 +157,18 @@ EndFunction
Function NormalizeProject(Path)
OPI_TypeConversion.GetLine(Path);
OPI_Tools.RestoreEscapeSequences(Path);
DBFile = New File(Path);
If DBFile.IsDirectory() Then
If DBFile.Exist() And DBFile.IsDirectory() Then
Counter = 1;
Counter = 0;
While DBFile.Exist() Do
Path = Path + "/new_project_" + String(Counter) + ".oint";
DBFile = New File(Path);
NewPath = Path + "/new_project_" + String(Counter) + ".oint";
DBFile = New File(NewPath);
Counter = Counter + 1;

View File

@@ -132,6 +132,7 @@ EndFunction
Function CheckProjectExistence(Path)
OPI_TypeConversion.GetLine(Path);
OPI_Tools.RestoreEscapeSequences(Path);
ProjectFile = New File(Path);
Text = "The project file already exists!";
@@ -156,17 +157,18 @@ EndFunction
Function NormalizeProject(Path)
OPI_TypeConversion.GetLine(Path);
OPI_Tools.RestoreEscapeSequences(Path);
DBFile = New File(Path);
If DBFile.IsDirectory() Then
If DBFile.Exists() And DBFile.IsDirectory() Then
Counter = 1;
Counter = 0;
While DBFile.Exists() Do
Path = Path + "/new_project_" + String(Counter) + ".oint";
DBFile = New File(Path);
NewPath = Path + "/new_project_" + String(Counter) + ".oint";
DBFile = New File(NewPath);
Counter = Counter + 1;

View File

@@ -2138,9 +2138,9 @@
КонецФункции
Функция ПолучитьОбщийМодуль(Знач Имя)
Модуль = Вычислить(Имя);
Возврат Модуль;
КонецФункции