Rev | Line | |
---|
[14726] | 1 | @ECHO OFF
|
---|
[4495] | 2 |
|
---|
[14726] | 3 | SET HOST=
|
---|
| 4 | SET GENERATECONFIG=
|
---|
[4495] | 5 |
|
---|
[14726] | 6 | ECHO.
|
---|
| 7 | ECHO *******************************************************************************************
|
---|
[4495] | 8 |
|
---|
[14726] | 9 | SET /P HOST=Which host should be used? [services.heuristiclab.com]:
|
---|
| 10 | IF "%HOST%"=="" SET HOST=services.heuristiclab.com
|
---|
[4495] | 11 |
|
---|
[14726] | 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
TracBrowser
for help on using the repository browser.