Reduce catalog to Phase 1 ACC/PROD view
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "APPDIR=%~dp0"
|
||||
set "EXE=%APPDIR%BizTalkApplicationCatalog.exe"
|
||||
|
||||
if not exist "%EXE%" (
|
||||
echo FEHLER: Anwendung fehlt: "%EXE%"
|
||||
exit /b 2
|
||||
)
|
||||
if "%~1"=="" goto :usage
|
||||
if "%~2"=="" goto :usage
|
||||
|
||||
if "%~3"=="" (
|
||||
set "OUTPUT=%CD%\BizTalk-Anwendungskatalog\ACC-PROD"
|
||||
) else (
|
||||
set "OUTPUT=%~3"
|
||||
)
|
||||
|
||||
"%EXE%" --merge --acc-json "%~1" --prod-json "%~2" --output "%OUTPUT%"
|
||||
exit /b %ERRORLEVEL%
|
||||
|
||||
:usage
|
||||
echo Aufruf:
|
||||
echo run-merge.cmd ACC-SNAPSHOT.json PROD-SNAPSHOT.json [AUSGABEORDNER]
|
||||
exit /b 2
|
||||
Reference in New Issue
Block a user