diff --git a/BeWo/SvcUtil.exe b/BeWo/Scripts/src/SvcUtil.exe similarity index 100% rename from BeWo/SvcUtil.exe rename to BeWo/Scripts/src/SvcUtil.exe diff --git a/BeWo/Scripts/src/svcutils_service.bat b/BeWo/Scripts/src/svcutils_service.bat index fe8b208aa..6fc862159 100644 --- a/BeWo/Scripts/src/svcutils_service.bat +++ b/BeWo/Scripts/src/svcutils_service.bat @@ -1 +1 @@ -..\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\Generated%1.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/%1.svc?wsdl \ No newline at end of file +src\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\Generated%1.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/%1.svc?wsdl \ No newline at end of file diff --git a/BeWo/ServiceReferences.bat b/BeWo/ServiceReferences.bat deleted file mode 100644 index 5dccc8f30..000000000 --- a/BeWo/ServiceReferences.bat +++ /dev/null @@ -1,5 +0,0 @@ -echo %time% - -svcutil.exe /noConfig /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated.cs /ct:System.Collections.Generic.List`1 /r:..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/EmployeeService.svc?wsdl http://localhost:3777/Host/CustomerService.svc?wsdl http://localhost:3777/Host/UserService.svc?wsdl http://localhost:3777/Host/StreamingService.svc?wsdl http://localhost:3777/Host/ValueListService.svc?wsdl http://localhost:3777/Host/DownloadService.svc?wsdl http://localhost:3777/Host/ResourceService.svc?wsdl http://localhost:3777/Host/OperationsService.svc?wsdl http://localhost:3777/Host/AnalysisService.svc?wsdl http://localhost:3777/Host/MailService.svc?wsdl http://localhost:3777/Host/AccountingService.svc?wsdl http://localhost:3777/Host/GkvAccountingService.svc?wsdl http://localhost:3777/Host/ReportService.svc?wsdl http://localhost:3777/Host/QueryService.svc?wsdl - -echo %time% \ No newline at end of file diff --git a/BeWo/ServiceReferencesWithLog.bat b/BeWo/ServiceReferencesWithLog.bat deleted file mode 100644 index e962da70f..000000000 --- a/BeWo/ServiceReferencesWithLog.bat +++ /dev/null @@ -1,23 +0,0 @@ -@echo off -REM Diese Batch-Datei führt eine andere Batch-Datei aus und schreibt das Ergebnis in eine Log-Datei - -REM Pfad zur anderen Batch-Datei -set "SCRIPT_PATH=ServiceReferences.bat" - -REM Pfad zur Log-Datei -set "LOG_FILE=ServiceReferencesWithLog.log.txt" - -REM Leere die Log-Datei vor dem Start -echo. > %LOG_FILE% - -REM Führe die andere Batch-Datei aus und leite die Ausgabe in die Log-Datei um -call %SCRIPT_PATH% >> %LOG_FILE% 2>&1 - -REM Überprüfe, ob die Ausführung erfolgreich war -if %errorlevel% equ 0 ( - echo Die Ausführung von %SCRIPT_PATH% war erfolgreich. >> %LOG_FILE% -) else ( - echo Die Ausführung von %SCRIPT_PATH% ist fehlgeschlagen. >> %LOG_FILE% -) - -echo Log wurde in %LOG_FILE% geschrieben. \ No newline at end of file diff --git a/BeWo/ServiceReferences_fast.bat b/BeWo/ServiceReferences_fast.bat new file mode 100644 index 000000000..b67bc103e --- /dev/null +++ b/BeWo/ServiceReferences_fast.bat @@ -0,0 +1,20 @@ +REM Pfad zum Unterordner xyz +set "folder=Scripts" + +REM Prüfen, ob der Ordner existiert +if not exist "%folder%" ( + echo Der Ordner "%folder%" wurde nicht gefunden. + exit /b 1 +) + +cd %folder% + +REM Alle .bat-Dateien im Ordner ausführen +for %%f in ("*.bat") do ( + echo Starte %%f ... + start "" cmd /c "%%f" +) + +echo Alle Batch-Dateien wurden gestartet. + +endlocal \ No newline at end of file diff --git a/BeWo/ServiceReferences_new.bat b/BeWo/ServiceReferences_track.bat similarity index 98% rename from BeWo/ServiceReferences_new.bat rename to BeWo/ServiceReferences_track.bat index 0c6799d2d..c4ae60590 100644 --- a/BeWo/ServiceReferences_new.bat +++ b/BeWo/ServiceReferences_track.bat @@ -1,3 +1,5 @@ +clear + REM Pfad zum Unterordner xyz set "folder=Scripts" @@ -24,4 +26,5 @@ echo Start Time: %startTime% echo Finish Time: %time% endlocal + pause \ No newline at end of file