1
0
mirror of https://github.com/arkuznetsov/1CFilesConverter.git synced 2024-11-24 08:33:30 +02:00

refactor: Убран параметр для указания используемого инструмента конвертации;

Для указания инструмента конвертации используется переменная окружения %V8_CONVERT_TOOL%;
Инструментом конвертации по умолчанию теперь является пакетный режим конфигуратора.
This commit is contained in:
Artem Kuznetsov 2023-07-26 11:50:52 +03:00
parent 5f96945577
commit 49642e72e7
28 changed files with 90 additions and 53 deletions

View File

@ -13,9 +13,12 @@
## Переменные среды
* **V8_VERSION** - версия используемой платформы 1С:Предприятие (по умолчанию: `8.3.20.2290``)
* **V8_VERSION** - версия используемой платформы 1С:Предприятие (по умолчанию: `8.3.20.2290`)
* **V8_TEMP** - путь к каталогу для создания временных файлов в процессе конвертации (по умолчанию: `%TEMP%\1c`)
* **V8_V8_RING_TOOL** - путь к утилите ring из состава EDT (по умолчанию берется из переменной окружения `%PATH%`)
* **V8_CONVERT_TOOL** - инструмент для конвертации файлов конфигурации (по умолчанию: `designer`):
* **designer** - для конвертации используется пакетный режим конфигуратора
* **ibcmd** - для конвертации используется утилита администрирования автономного сервера
* **V8_RING_TOOL** - путь к утилите ring из состава EDT (по умолчанию берется из переменной окружения `%PATH%`)
## Скрипты конвертации
@ -33,7 +36,13 @@
* Путь к источнику конфигурации
* Путь к файловой информационной базе
* Используемый инструмент для выгрузки - **designer**, **ibcmd** (по умолчанию: **ibcmd**)
```txt
Для указания инструмента конвертации необходимо установить переменную среды %V8_CONVERT_TOOL%.
По умолчанию используется пакетный режим конфигуратора.
```
```txt
@ -57,7 +66,13 @@
* Путь к источнику конфигурации
* Путь к каталогу выгрузки файлов конфигурации
* Используемый инструмент для выгрузки - **designer**, **ibcmd** (по умолчанию: **ibcmd**)
```txt
Для указания инструмента конвертации необходимо установить переменную среды %V8_CONVERT_TOOL%.
По умолчанию используется пакетный режим конфигуратора.
```
### [conf2edt.cmd](./scripts/conf2edt.cmd)
@ -73,7 +88,13 @@
* Путь к источнику конфигурации
* Путь к каталогу проекта EDT
* Используемый инструмент для выгрузки - **designer**, **ibcmd** (по умолчанию: **ibcmd**)
```txt
Для указания инструмента конвертации необходимо установить переменную среды %V8_CONVERT_TOOL%.
По умолчанию используется пакетный режим конфигуратора.
```
### [conf2cf.cmd](./scripts/conf2cf.cmd)
@ -89,7 +110,13 @@
* Путь к источнику конфигурации
* Путь к CF-файлу конфигурации
* Используемый инструмент для выгрузки - **designer**, **ibcmd** (по умолчанию: **ibcmd**)
```txt
Для указания инструмента конвертации необходимо установить переменную среды %V8_CONVERT_TOOL%.
По умолчанию используется пакетный режим конфигуратора.
```
```txt

View File

@ -10,8 +10,10 @@ rem designer - batch run of 1C:Designer
IF not defined V8_VERSION set V8_VERSION=8.3.20.2290
IF not defined V8_TEMP set V8_TEMP=%TEMP%\1c
IF not "%V8_CONVERT_TOOL%" equ "designer" IF not "%V8_CONVERT_TOOL%" equ "ibcmd" set V8_CONVERT_TOOL=designer
set V8_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\1cv8.exe"
set IBCMD_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\ibcmd.exe"
IF not defined V8_RING_TOOL (
FOR /F "usebackq tokens=1 delims=" %%i IN (`where ring`) DO (
set V8_RING_TOOL="%%i"
@ -29,10 +31,6 @@ IF defined CONFIG_FILE (
set CONFIG_FILE=%CONFIG_FILE:"=%
set CONFIG_FILE_PATH=%~dp2
)
set CONV_TOOL=%3
IF defined CONV_TOOL (
set CONV_TOOL=%CONV_TOOL:"=%
) ELSE set CONV_TOOL=ibcmd
IF not defined CONFIG_SOURCE (
echo Missed parameter 1 "path to 1C configuration source (infobase, 1C:Designer XML files or 1C:EDT project)"
@ -79,7 +77,7 @@ call %V8_RING_TOOL% edt workspace export --project "%CONFIG_SOURCE%" --configura
:export_xml
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
echo Creating infobase "%IB_PATH%"...
%V8_TOOL% CREATEINFOBASE File=%IB_PATH%; /DisableStartupDialogs
@ -93,7 +91,7 @@ IF "%CONV_TOOL%" equ "designer" (
:export_ib
echo Export infobase "%IB_PATH%" configuration to "%CONFIG_FILE%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% DESIGNER /IBConnectionString File=%IB_PATH%; /DisableStartupDialogs /DumpCfg %CONFIG_FILE%
) ELSE (
%IBCMD_TOOL% infobase config save --db-path="%IB_PATH%" "%CONFIG_FILE%"

View File

@ -10,6 +10,7 @@ rem designer - batch run of 1C:Designer
IF not defined V8_VERSION set V8_VERSION=8.3.20.2290
IF not defined V8_TEMP set V8_TEMP=%TEMP%\1c
IF not "%V8_CONVERT_TOOL%" equ "designer" IF not "%V8_CONVERT_TOOL%" equ "ibcmd" set V8_CONVERT_TOOL=designer
set V8_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\1cv8.exe"
set IBCMD_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\ibcmd.exe"
IF not defined V8_RING_TOOL (
@ -26,10 +27,6 @@ set CONFIG_SOURCE=%1
IF defined CONFIG_SOURCE set CONFIG_SOURCE=%CONFIG_SOURCE:"=%
set CONFIG_PATH=%2
IF defined CONFIG_PATH set CONFIG_PATH=%CONFIG_PATH:"=%
set CONV_TOOL=%3
IF defined CONV_TOOL (
set CONV_TOOL=%CONV_TOOL:"=%
) ELSE set CONV_TOOL=ibcmd
IF not defined CONFIG_SOURCE (
echo Missed parameter 1 "path to 1C configuration source (1C configuration file (*.cf), infobase or 1C:Designer XML files)"
@ -73,7 +70,7 @@ exit /b 1
:export_cf
echo Creating infobase "%IB_PATH%" from file "%CONFIG_FILE%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% CREATEINFOBASE File="%IB_PATH%"; /DisableStartupDialogs /UseTemplate "%CONFIG_FILE%"
) ELSE (
%IBCMD_TOOL% infobase create --db-path="%IB_PATH%" --create-database --load="%CONFIG_FILE%"
@ -82,7 +79,7 @@ IF "%CONV_TOOL%" equ "designer" (
:export_ib
echo Export configuration from infobase "%IB_PATH%" to 1C:Designer XML format "%XML_PATH%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% DESIGNER /IBConnectionString File="%IB_PATH%"; /DisableStartupDialogs /DumpConfigToFiles "%XML_PATH%" -force
) ELSE (
%IBCMD_TOOL% infobase config export --db-path="%IB_PATH%" "%XML_PATH%" --force

View File

@ -9,6 +9,7 @@ rem designer - batch run of 1C:Designer
IF not defined V8_VERSION set V8_VERSION=8.3.20.2290
IF not "%V8_CONVERT_TOOL%" equ "designer" IF not "%V8_CONVERT_TOOL%" equ "ibcmd" set V8_CONVERT_TOOL=designer
set V8_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\1cv8.exe"
set IBCMD_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\ibcmd.exe"
IF not defined V8_RING_TOOL (
@ -24,10 +25,6 @@ set CONFIG_SOURCE=%1
IF defined CONFIG_SOURCE set CONFIG_SOURCE=%CONFIG_SOURCE:"=%
set IB_PATH=%2
IF defined IB_PATH set IB_PATH=%IB_PATH:"=%
set CONV_TOOL=%3
IF defined CONV_TOOL (
set CONV_TOOL=%CONV_TOOL:"=%
) ELSE set CONV_TOOL=ibcmd
IF not defined CONFIG_SOURCE (
echo Missed parameter 1 "path to 1C configuration source (1C configuration file (*.cf), 1C:Designer XML files or 1C:EDT project)"
@ -48,7 +45,7 @@ IF /i "%CONFIG_SOURCE:~-3%" equ ".cf" (
echo Source type: Configuration file ^(CF^)
md "%IB_PATH%"
echo Creating infobase "%IB_PATH%" from file "%CONFIG_SOURCE%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% CREATEINFOBASE File="%IB_PATH%"; /DisableStartupDialogs /UseTemplate "%CONFIG_SOURCE%"
) ELSE (
%IBCMD_TOOL% infobase create --db-path="%IB_PATH%" --create-database --load="%CONFIG_SOURCE%"
@ -73,7 +70,7 @@ exit /b 1
:export
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
echo Creating infobase "%IB_PATH%"...
%V8_TOOL% CREATEINFOBASE File=%IB_PATH%; /DisableStartupDialogs

View File

@ -10,6 +10,7 @@ rem designer - batch run of 1C:Designer
IF not defined V8_VERSION set V8_VERSION=8.3.20.2290
IF not defined V8_TEMP set V8_TEMP=%TEMP%\1c
IF not "%V8_CONVERT_TOOL%" equ "designer" IF not "%V8_CONVERT_TOOL%" equ "ibcmd" set V8_CONVERT_TOOL=designer
set V8_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\1cv8.exe"
set IBCMD_TOOL="C:\Program Files\1cv8\%V8_VERSION%\bin\ibcmd.exe"
IF not defined V8_RING_TOOL (
@ -25,10 +26,6 @@ set CONFIG_SOURCE=%1
IF defined CONFIG_SOURCE set CONFIG_SOURCE=%CONFIG_SOURCE:"=%
set CONFIG_PATH=%2
IF defined CONFIG_PATH set CONFIG_PATH=%CONFIG_PATH:"=%
set CONV_TOOL=%3
IF defined CONV_TOOL (
set CONV_TOOL=%CONV_TOOL:"=%
) ELSE set CONV_TOOL=ibcmd
IF not defined CONFIG_SOURCE (
echo Missed parameter 1 "path to 1C configuration source (1C configuration file (*.cf), infobase or 1C:EDT project)"
@ -51,7 +48,7 @@ IF /i "%CONFIG_SOURCE:~-3%" equ ".cf" (
echo Source type: Configuration file ^(CF^)
md "%IB_PATH%"
echo Creating infobase "%IB_PATH%" from file "%CONFIG_SOURCE%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% CREATEINFOBASE File="%IB_PATH%"; /DisableStartupDialogs /UseTemplate "%CONFIG_SOURCE%"
) ELSE (
%IBCMD_TOOL% infobase create --db-path="%IB_PATH%" --create-database --load="%CONFIG_SOURCE%"
@ -78,7 +75,7 @@ exit /b 1
:export
echo Export configuration from infobase "%IB_PATH%" to 1C:Designer XML format "%CONFIG_PATH%"...
IF "%CONV_TOOL%" equ "designer" (
IF "%V8_CONVERT_TOOL%" equ "designer" (
%V8_TOOL% DESIGNER /IBConnectionString File="%IB_PATH%"; /DisableStartupDialogs /DumpConfigToFiles "%CONFIG_PATH%" -force
) ELSE (
%IBCMD_TOOL% infobase config export --db-path="%IB_PATH%" "%CONFIG_PATH%" --force

View File

@ -134,7 +134,7 @@ IF "%DP_SOURCE_IS_EDT%" equ "1" (
echo Import external reports from "%XML_PATH%" to 1C:Designer format "%DP_DEST_PATH%" using infobase "%IB_PATH%" with %BASE_CONFIG_DESCRIPTION%...
FOR /f %%f IN ('dir /b /a-d "%XML_PATH%\ExternalReports\*.xml"') DO (
echo Building %%~nf...
%V8_TOOL% DESIGNER /IBConnectionString File="%IB_PATH%"; /LoadExternalDataProcessorOrReportFromFiles "%XML_PATH%\ExternalReports\%%~nxf" "%DP_DEST_PATH%"
%V8_TOOL% DESIGNER /IBConnectionString File="%IB_PATH%"; /DisableStartupDialogs /LoadExternalDataProcessorOrReportFromFiles "%XML_PATH%\ExternalReports\%%~nxf" "%DP_DEST_PATH%"
)
) ELSE (
echo Import external datap processors ^& reports from "%XML_PATH%" to 1C:Designer format "%DP_DEST_PATH%" using infobase "%IB_PATH%" with %BASE_CONFIG_DESCRIPTION%...

View File

@ -6,6 +6,7 @@ rem %2 - path to validation report file
IF not defined V8_VERSION set V8_VERSION=8.3.20.2290
IF not defined V8_TEMP set V8_TEMP=%TEMP%\1c
IF not defined V8_RING_TOOL (
FOR /F "usebackq tokens=1 delims=" %%i IN (`where ring`) DO (
set V8_RING_TOOL="%%i"
@ -59,7 +60,7 @@ IF exist "%CONFIG_PATH%\1cv8.1cd" (
call %~dp0conf2edt.cmd "%CONFIG_PATH%" "%VALIDATE_PATH%"
goto validate
)
FOR /f %%f IN ('dir /b /a-d "%DP_SOURCE%\*.epf" "%DP_SOURCE%\*.erf" "%DP_SOURCE%\*.xml"') DO (
FOR /f %%f IN ('dir /b /a-d "%CONFIG_PATH%\*.epf" "%CONFIG_PATH%\*.erf" "%CONFIG_PATH%\*.xml" "%CONFIG_PATH%\ExternalDataProcessors\*.xml" "%CONFIG_PATH%\ExternalReports\*.xml"') DO (
call %~dp0dp2edt.cmd "%CONFIG_PATH%" "%VALIDATE_PATH%"
goto validate
)

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> XML (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\Configuration.xml
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> XML (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\Configuration.xml
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> infobase (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> infobase (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> EDT (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\src\Configuration\Configuration.mdo
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf CF -> EDT (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\src\Configuration\Configuration.mdo
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_BINARY%\1cv8.cf" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf XML -> CF (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf XML -> CF (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf XML -> infobase (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf XML -> infobase (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_XML_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> CF (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_IB%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> CF (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_IB%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> XML (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\Configuration.xml
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_IB%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> XML (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\Configuration.xml
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_IB%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> EDT (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\src\Configuration\Configuration.mdo
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_IB%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf infobase -> EDT (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\src\Configuration\Configuration.mdo
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_IB%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2edt.cmd "%TEST_IB%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf EDT -> CF (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf EDT -> CF (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0\1cv8.cf
set TEST_CHECK_PATH=%TEST_OUT_PATH%
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2cf.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf EDT -> IB (ibcmd)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=ibcmd
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%"

View File

@ -3,8 +3,9 @@
set TEST_NAME="Conf EDT -> IB (designer)"
set TEST_OUT_PATH=%OUT_PATH%\%~n0
set TEST_CHECK_PATH=%TEST_OUT_PATH%\1cv8.1cd
set V8_CONVERT_TOOL=designer
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%" designer
call %SCRIPTS_PATH%\conf2ib.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%"

View File

@ -7,4 +7,4 @@ set TEST_CHECK_PATH=%TEST_OUT_PATH%\Configuration.xml
echo ===
echo Test %TEST_COUNT%. ^(%~n0^) %TEST_NAME%
echo ===
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%" ibcmd
call %SCRIPTS_PATH%\conf2xml.cmd "%TEST_EDT_CF%" "%TEST_OUT_PATH%"