From 8759a126a1bb9eec550c37b5b14642b0cfeb797b Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 16 Nov 2009 06:23:13 +0000 Subject: Cleaning up SVN structure, moving branch under sca-cpp/branches. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880612 13f79535-47bb-0310-9956-ffa450edef68 --- .../devstudio7/projects/Calculator/wsdeploy.cmd | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 sca-cpp/branches/cpp-M1/sca/samples/ides/devstudio7/projects/Calculator/wsdeploy.cmd (limited to 'sca-cpp/branches/cpp-M1/sca/samples/ides/devstudio7/projects/Calculator/wsdeploy.cmd') diff --git a/sca-cpp/branches/cpp-M1/sca/samples/ides/devstudio7/projects/Calculator/wsdeploy.cmd b/sca-cpp/branches/cpp-M1/sca/samples/ides/devstudio7/projects/Calculator/wsdeploy.cmd new file mode 100644 index 0000000000..68a5090820 --- /dev/null +++ b/sca-cpp/branches/cpp-M1/sca/samples/ides/devstudio7/projects/Calculator/wsdeploy.cmd @@ -0,0 +1,63 @@ +@echo off + +@REM Copyright 2006 The Apache Software Foundation or its licensors, as applicable. +@REM +@REM Licensed under the Apache License, Version 2.0 (the "License"); +@REM you may not use this file except in compliance with the License. +@REM You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, software +@REM distributed under the License is distributed on an "AS IS" BASIS, +@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@REM See the License for the specific language governing permissions and +@REM limitations under the License. + +rem Will copy the correct files from the source tree for packaging and deployment of the +rem SCA sample. +setlocal +set currentPath=%~d0%~p0 +set sourcePath=%currentPath%..\..\..\..\Calculator + +set buildMode=Release +if .Debug == %1. ( +set buildMode=Debug +) + + +if . == %2. ( +set destinationPath=%sourcePath%\deploy +) ELSE ( +set destinationPath=%2 +) + + +if not exist %destinationPath%\modules mkdir %destinationPath%\modules +if not exist %destinationPath%\modules\CalculatorModule mkdir %destinationPath%\modules\CalculatorModule + +copy %sourcePath%\CalculatorModule\*.componentType %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\sca.module %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\Calculator.h %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\CalculatorImpl.h %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\DivideService.h %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\DivideServiceImpl.h %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\Tuscany-model.config %destinationPath%\modules\CalculatorModule +copy %sourcePath%\CalculatorModule\Calculator.wsdl %destinationPath%\modules\CalculatorModule +copy %currentPath%\Calculator\%buildMode%\Calculator.dll %destinationPath%\modules\CalculatorModule + +if not exist %destinationPath%\bin mkdir %destinationPath%\bin +copy %currentPath%\WSClient\%buildMode%\WSClient.exe %destinationPath%\bin +if %buildMode% == Debug ( +copy %currentPath%\WSClient\%buildMode%\WSClient.pdb %destinationPath%\bin +) +copy %sourcePath%\WSClient\runwsclient.cmd %destinationPath%\bin + + +if not exist %destinationPath%\subsystems mkdir %destinationPath%\subsystems +if not exist %destinationPath%\subsystems\CalculatorSubsystem mkdir %destinationPath%\subsystems\CalculatorSubsystem + +copy %sourcePath%\CalculatorSubsystem\sca.subsystem %destinationPath%\subsystems\CalculatorSubsystem + + +endlocal \ No newline at end of file -- cgit v1.2.3