Initial commit: BizTalk application catalog

This commit is contained in:
2026-07-27 14:46:02 +02:00
commit 2b5b97c869
25 changed files with 3026 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
@echo off
setlocal EnableExtensions
set "ROOT=%~dp0.."
set "ARTIFACTS=%ROOT%\artifacts"
set "ZIP=%ARTIFACTS%\BizTalkApplicationCatalog-source.zip"
set "TEXT=%ZIP%.txt"
if not exist "%ARTIFACTS%" mkdir "%ARTIFACTS%"
if exist "%ZIP%" del /q "%ZIP%"
if exist "%TEXT%" del /q "%TEXT%"
where tar >nul 2>nul
if errorlevel 1 (
echo FEHLER: tar.exe wird fuer das Quellarchiv benoetigt.
exit /b 2
)
pushd "%ROOT%"
tar.exe -a -c -f "%ZIP%" --exclude=.git --exclude=bin --exclude=obj --exclude=artifacts .
set "TAR_EXIT=%ERRORLEVEL%"
popd
if not "%TAR_EXIT%"=="0" exit /b %TAR_EXIT%
certutil -f -encode "%ZIP%" "%TEXT%" >nul
if errorlevel 1 exit /b %ERRORLEVEL%
echo Quellarchiv: %ZIP%
echo Base64-Text: %TEXT%
echo Dekodieren: certutil -decode BizTalkApplicationCatalog-source.zip.txt BizTalkApplicationCatalog-source.zip
exit /b 0