mirror of
https://github.com/arkuznetsov/1CFilesConverter.git
synced 2024-11-28 08:49:00 +02:00
style: Дополнены информационные сообщения
This commit is contained in:
parent
75f570b7d6
commit
457a92c2f1
@ -14,7 +14,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration to 1C configuration file ^(*.cf^)
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -52,6 +52,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -76,7 +78,7 @@ IF not defined V8_DST_PATH (
|
||||
)
|
||||
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to 1C configuration source ^(infobase, 1C:Designer XML files or 1C:EDT project^)
|
||||
echo %%2 - path to 1C configuration file ^(*.cf^)
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration to 1C:EDT project
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -51,6 +51,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -72,7 +74,7 @@ IF not defined V8_DST_PATH (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to 1C configuration source ^(1C configuration file ^(*.cf^), infobase or 1C:Designer XML files^)
|
||||
echo %%2 - path to folder to save configuration files in 1C:EDT project format
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration to 1C:Designer XML format
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -51,6 +51,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set WS_PATH=%LOCAL_TEMP%\edt_ws
|
||||
@ -71,7 +73,7 @@ IF not defined V8_DST_PATH (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to 1C configuration source ^(1C configuration file ^(*.cf^), infobase or 1C:EDT project^)
|
||||
echo %%2 - path to folder to save configuration files in 1C:Designer XML format
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C external data processors ^& reports to 1C:EDT project
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -45,6 +45,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "designer"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -85,7 +87,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder containing data processors ^(*.epf^) ^& reports ^(*.erf^) in binary or XML format
|
||||
echo or path to binary data processor ^(*.epf^) or report ^(*.erf^)
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C external data processors ^& reports to binary format ^(*.epf, *.erf^)
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -45,6 +45,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "designer"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -85,7 +87,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder contains 1C data processors ^& reports in 1C:Designer XML format or EDT format
|
||||
echo or path to main xml-file of data processor or report
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C external data processors ^& reports to 1C:Designer XML format
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -45,6 +45,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "designer"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set WS_PATH=%LOCAL_TEMP%\edt_ws
|
||||
@ -84,7 +86,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder containing data processors ^(*.epf^) ^& reports ^(*.erf^) in binary or EDT project
|
||||
echo or path to binary data processor ^(*.epf^) or report ^(*.erf^)
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Validate 1C configuration, extension, external data processors ^& reports using 1C:EDT ^(using ring tool^)
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -66,7 +66,7 @@ IF not defined REPORT_FILE (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to 1C configuration, extension, data processors or reports ^(binary ^(*.cf, *.cfe, *.epf, *.erf^), 1C:Designer XML format or 1C:EDT project^)
|
||||
echo %%2 - path to validation report file
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration extension to binary format ^(*.cfe^)
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -51,6 +51,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -98,7 +100,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder contains 1C extension in 1C:Designer XML format or EDT project
|
||||
echo %%2 - path to 1C configuration extension file ^(*.cfe^)
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration extension to 1C:EDT project
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -51,6 +51,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set XML_PATH=%LOCAL_TEMP%\tmp_xml
|
||||
@ -96,7 +98,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder contains 1C extension binary file ^(*.cfe^) or in 1C:Designer XML format
|
||||
echo %%2 - path to folder to save configuration extension in 1C:EDT project format
|
||||
|
@ -14,7 +14,7 @@ SETLOCAL
|
||||
set CONVERT_VERSION=UNKNOWN
|
||||
IF exist "%~dp0..\VERSION" FOR /F "usebackq tokens=* delims=" %%i IN ("%~dp0..\VERSION") DO set CONVERT_VERSION=%%i
|
||||
echo 1C files converter v.%CONVERT_VERSION%
|
||||
echo ===
|
||||
echo ======
|
||||
echo Convert 1C configuration extension to 1C:Designer XML format
|
||||
|
||||
set ERROR_CODE=0
|
||||
@ -51,6 +51,8 @@ IF not defined V8_RING_TOOL (
|
||||
set ERROR_CODE=1
|
||||
)
|
||||
|
||||
echo [INFO] Start conversion using "%V8_CONVERT_TOOL%"
|
||||
|
||||
set LOCAL_TEMP=%V8_TEMP%\%~n0
|
||||
set IB_PATH=%LOCAL_TEMP%\tmp_db
|
||||
set WS_PATH=%LOCAL_TEMP%\edt_ws
|
||||
@ -95,7 +97,7 @@ IF defined V8_BASE_CONFIG (
|
||||
set V8_BASE_CONFIG=
|
||||
)
|
||||
IF %ERROR_CODE% neq 0 (
|
||||
echo ===
|
||||
echo ======
|
||||
echo [ERROR] Input parameters error. Expected:
|
||||
echo %%1 - path to folder contains 1C extension binary file ^(*.cfe^) or EDT project
|
||||
echo %%2 - path to folder to save configuration extension files in 1C:Designer XML format
|
||||
|
@ -1,6 +1,6 @@
|
||||
@ECHO OFF
|
||||
|
||||
set TEST_NAME="Validate data processors & reports"
|
||||
set TEST_NAME="Validate data processors & reports (EDT)"
|
||||
set TEST_OUT_PATH=%OUT_PATH%\%~n0\report.txt
|
||||
set TEST_OUT_PATH=%TEST_OUT_PATH: =_%
|
||||
set TEST_CHECK_PATH=%TEST_OUT_PATH%
|
||||
|
@ -1,6 +1,6 @@
|
||||
@ECHO OFF
|
||||
|
||||
set TEST_NAME="Validate configuration extension"
|
||||
set TEST_NAME="Validate configuration extension (EDT)"
|
||||
set TEST_EXT_NAME=Расширение1
|
||||
set TEST_OUT_PATH=%OUT_PATH%\%~n0\report.txt
|
||||
set TEST_OUT_PATH=%TEST_OUT_PATH: =_%
|
||||
|
@ -1,6 +1,6 @@
|
||||
@ECHO OFF
|
||||
|
||||
set TEST_NAME="Validate configuration extension"
|
||||
set TEST_NAME="Validate configuration from file infobase"
|
||||
set TEST_EXT_NAME=Расширение1
|
||||
set TEST_OUT_PATH=%OUT_PATH%\%~n0\report.txt
|
||||
set TEST_OUT_PATH=%TEST_OUT_PATH: =_%
|
||||
|
@ -1,6 +1,6 @@
|
||||
@ECHO OFF
|
||||
|
||||
set TEST_NAME="Validate configuration extension"
|
||||
set TEST_NAME="Validate configuration from server infobase"
|
||||
set TEST_EXT_NAME=Расширение1
|
||||
set TEST_OUT_PATH=%OUT_PATH%\%~n0\report.txt
|
||||
set TEST_OUT_PATH=%TEST_OUT_PATH: =_%
|
||||
|
Loading…
Reference in New Issue
Block a user