Changeset 14726 for trunk/sources/HeuristicLab.PluginInfrastructure/3.3
- Timestamp:
- 03/07/17 17:47:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/DeploymentService/GenerateServiceClients.cmd
r4495 r14726 1 echo off 1 @ECHO OFF 2 2 3 echo. 4 echo ******************************************************************************************* 5 echo Generating DeploymentService clients 6 echo. 3 SET HOST= 4 SET GENERATECONFIG= 7 5 8 svcutil.exe ^ 9 http://services.heuristiclab.com/Deployment-3.3/UpdateService.svc/mex ^ 10 http://services.heuristiclab.com/Deployment-3.3/AdminService.svc/mex ^ 11 /out:ServiceClients ^ 12 /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService ^ 13 /targetClientVersion:Version35 ^ 14 /mergeConfig ^ 15 /config:..\..\app.config 6 ECHO. 7 ECHO ******************************************************************************************* 16 8 17 echo. 18 echo Generation of DeploymentService clients finished. 19 echo ******************************************************************************************* 20 echo. 9 SET /P HOST=Which host should be used? [services.heuristiclab.com]: 10 IF "%HOST%"=="" SET HOST=services.heuristiclab.com 21 11 22 pause 12 SET /P GENERATECONFIG=Would you like to generate the configuration file? [y]: 13 IF "%GENERATECONFIG%"=="" SET GENERATECONFIG=y 14 15 SET ARGS=http://%HOST%/Deployment-3.3/UpdateService.svc?wsdl http://%HOST%/Deployment-3.3/AdminService.svc?wsdl ^ 16 /out:ServiceClients ^ 17 /namespace:*,HeuristicLab.PluginInfrastructure.Advanced.DeploymentService ^ 18 /targetClientVersion:Version35 ^ 19 /syncOnly 20 21 IF "%GENERATECONFIG%"=="y" ( 22 SET ARGS=%ARGS% /config:..\..\app.config /mergeConfig 23 ) ELSE ( 24 SET ARGS=%ARGS% /noConfig 25 ) 26 27 ECHO. 28 ECHO Generating UpdateService and AdminService clients 29 ECHO. 30 31 SETLOCAL ENABLEDELAYEDEXPANSION 32 svcutil.exe %ARGS% 33 ENDLOCAL 34 35 ECHO. 36 ECHO Generation of UpdateService and AdminService clients finished. 37 ECHO ******************************************************************************************* 38 ECHO. 39 40 PAUSE
Note: See TracChangeset
for help on using the changeset viewer.