You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2006/10/03 13:14:38 UTC
svn commit: r452423 - in
/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank:
AccountClient/AccountClient.vcproj Accounts/Accounts.vcproj
WSAccountClient/WSAccountClient.vcproj deploy.bat wsdeploy.bat
Author: ajborley
Date: Tue Oct 3 04:14:37 2006
New Revision: 452423
URL: http://svn.apache.org/viewvc?view=rev&rev=452423
Log:
Updated windows build files to re-enable BigBank for new deployment layout
Added:
incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/wsdeploy.bat
Modified:
incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj
incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj
incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj
incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/deploy.bat
Modified: incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj?view=diff&rev=452423&r1=452422&r2=452423
==============================================================================
--- incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj (original)
+++ incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/AccountClient/AccountClient.vcproj Tue Oct 3 04:14:37 2006
@@ -24,7 +24,7 @@
AdditionalIncludeDirectories="..\..\..\..\..\BigBank\Accounts;"$(TUSCANY_SDOCPP)/include";"$(TUSCANY_SCACPP)\extensions\cpp\include";"$(TUSCANY_SCACPP)/include""
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
- RuntimeLibrary="5"
+ RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/AccountClient.pch"
AssemblerListingLocation=".\Debug/"
@@ -122,12 +122,15 @@
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
- RelativePath="..\..\..\..\..\BigBank\AccountClient\AccountClient.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.client\AccountClient.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.client\AccountService.h">
+ </File>
</Filter>
<Filter
Name="Resource Files"
Modified: incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj?view=diff&rev=452423&r1=452422&r2=452423
==============================================================================
--- incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj (original)
+++ incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/Accounts/Accounts.vcproj Tue Oct 3 04:14:37 2006
@@ -95,12 +95,12 @@
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sca_cpp.lib tuscany_sdo.lib"
- OutputFile=".\Debug/Accounts.dll"
+ OutputFile=".\Debug/Account.dll"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories=""$(TUSCANY_SCACPP)/extensions/cpp/lib";"$(TUSCANY_SCACPP)/lib";"$(TUSCANY_SDOCPP)/lib""
GenerateDebugInformation="TRUE"
- ProgramDatabaseFile=".\Debug/Accounts.pdb"
+ ProgramDatabaseFile=".\Debug/Account.pdb"
ImportLibrary=".\Debug/Accounts.lib"/>
<Tool
Name="VCMIDLTool"
@@ -113,7 +113,8 @@
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"
- CommandLine="$(TUSCANY_SCACPP)/bin/scagen.cmd -dir ..\..\..\..\..\BigBank\Accounts -output ..\..\..\..\..\BigBank\Accounts -verbose"/>
+ CommandLine="$(TUSCANY_SCACPP)/bin/scagen.cmd -dir ..\..\..\..\..\BigBank\bigbank.account -output ..\..\..\..\..\BigBank\bigbank.account -verbose"
+ ExcludedFromBuild="FALSE"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
@@ -131,129 +132,119 @@
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Proxy.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Wrapper.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Wrapper.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_AccountService_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_accountDataService_Proxy.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_AccountService_Wrapper.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Proxy.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_accountData_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Wrapper.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_stockQuote_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_stockQuoteService_Proxy.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_webService_Proxy.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_webService_Proxy.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataService.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataService.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Proxy.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Proxy.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Wrapper.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl_AccountDataService_Wrapper.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountService.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountService.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_AccountService_Proxy.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_accountDataService_Proxy.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_AccountService_Wrapper.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Proxy.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl_stockQuote_Proxy.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_AccountService_Wrapper.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteExternalService.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl_stockQuoteService_Proxy.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteService.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteService.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteExternal_Proxy.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Proxy.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Proxy.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_StockQuoteService_Wrapper.h">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Wrapper.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl_webService_Proxy.h">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteWebService.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
<File
- RelativePath="..\..\..\..\..\BigBank\WSAccountClient\Tuscany-model.config">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountDataServiceImpl.componentType">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountService.wsdl">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\AccountServiceImpl.componentType">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\bigbank.account.composite">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.accountmanagement\bigbank.accountmanagement.composite">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteServiceImpl.componentType">
+ </File>
+ <File
+ RelativePath="..\..\..\..\..\BigBank\bigbank.account\StockQuoteWebService.wsdl">
</File>
-
</Filter>
- <File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountDataServiceImpl.componentType">
- </File>
- <File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountService.wsdl">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\..\..\..\BigBank\Accounts\AccountServiceImpl.componenttype">
- </File>
- <File
- RelativePath="..\..\..\..\..\BigBank\AccountsAccounts.composite">
- </File>
- <File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteService.wsdl">
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="TRUE">
- <Tool
- Name="VCCustomBuildTool"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\..\..\..\..\BigBank\Accounts\StockQuoteServiceImpl.componentType">
- </File>
</Files>
<Globals>
</Globals>
Modified: incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj?view=diff&rev=452423&r1=452422&r2=452423
==============================================================================
--- incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj (original)
+++ incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/WSAccountClient/WSAccountClient.vcproj Tue Oct 3 04:14:37 2006
@@ -75,7 +75,7 @@
AdditionalIncludeDirectories="$(TUSCANY_SDOCPP)/include,$(AXIS2C_HOME)/include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
- RuntimeLibrary="5"
+ RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/WSAccountClient.pch"
AssemblerListingLocation=".\Debug/"
@@ -102,7 +102,8 @@
Name="VCMIDLTool"
TypeLibraryName=".\Debug/WSAccountClient.tlb"/>
<Tool
- Name="VCPostBuildEventTool"/>
+ Name="VCPostBuildEventTool"
+ CommandLine="..\wsdeploy.bat Debug"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
@@ -122,17 +123,17 @@
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
- RelativePath="..\..\..\..\..\BigBank\WSAccountClient\WSAccountClient.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.wsclient\AccountWSClient.cpp">
</File>
<File
- RelativePath="..\..\..\..\..\BigBank\WSAccountClient\axis2_Account_stub.cpp">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.wsclient\axis2_Account_stub.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
- RelativePath="..\..\..\..\..\BigBank\WSAccountClient\axis2_Account_stub.h">
+ RelativePath="..\..\..\..\..\BigBank\bigbank.wsclient\axis2_Account_stub.h">
</File>
</Filter>
<Filter
Modified: incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/deploy.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/deploy.bat?view=diff&rev=452423&r1=452422&r2=452423
==============================================================================
--- incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/deploy.bat (original)
+++ incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/deploy.bat Tue Oct 3 04:14:37 2006
@@ -1,37 +1,57 @@
-set BBDIR=..\..\..\..\BigBank
+@echo off
-if not exist %BBDIR%\deploy mkdir %BBDIR%\deploy
-if not exist %BBDIR%\deploy\packages mkdir %BBDIR%\deploy\packages
-if not exist %BBDIR%\deploy\packages\Accounts mkdir %BBDIR%\deploy\packages\Accounts
-if not exist %BBDIR%\deploy\configuration mkdir %BBDIR%\deploy\configuration
-if not exist %BBDIR%\deploy\configuration\Accounts mkdir %BBDIR%\deploy\configuration\Accounts
-if not exist %BBDIR%\deploy\bin mkdir %BBDIR%\deploy\bin
-
-copy %BBDIR%\Accounts\Debug\Accounts.dll %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\Debug\Accounts.pdb %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountServiceImpl.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountService.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountDataServiceImpl.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountDataService.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteService.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteServiceImpl.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteWebService.h %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\Accounts.composite %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountServiceImpl.componentType %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountDataServiceImpl.componentType %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteServiceImpl.componentType %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\AccountService.wsdl %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteService.wsdl %BBDIR%\deploy\packages\Accounts
-copy %BBDIR%\Accounts\StockQuoteTypes.xsd %BBDIR%\deploy\packages\Accounts
-
-copy %BBDIR%\BigBankSubsystem\BigBankSubsystem.composite %BBDIR%\deploy\configuration\Accounts
-
-copy AccountClient\Debug\AccountClient.exe %BBDIR%\deploy\bin
-copy AccountClient\Debug\AccountClient.pdb %BBDIR%\deploy\bin
-copy %BBDIR%\AccountClient\runclient.cmd %BBDIR%\deploy\bin
-
-copy WSAccountClient\Debug\WSAccountClient.exe %BBDIR%\deploy\bin
-copy WSAccountClient\Debug\WSAccountClient.pdb %BBDIR%\deploy\bin
-copy %BBDIR%\WSAccountClient\runwsclient.cmd %BBDIR%\deploy\bin
+@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%..\..\..\..\BigBank
+
+set buildMode=Release
+if .Debug == .%1 (
+set buildMode=Debug
+)
+
+
+if . == %2. (
+set destinationPath=%sourcePath%\deploy
+) ELSE (
+set destinationPath=%2
+)
+
+if not exist %destinationPath% mkdir %destinationPath%
+if not exist %destinationPath%\packages mkdir %destinationPath%\packages
+if not exist %destinationPath%\packages\Accounts mkdir %destinationPath%\packages\bigbank.account
+if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration
+if not exist %destinationPath%\configuration\Accounts mkdir %destinationPath%\configuration\bigbank.accountmanagement
+if not exist %destinationPath%\bin mkdir %destinationPath%\bin
+
+copy %currentPath%\Accounts\%buildMode%\Account.dll %destinationPath%\packages\bigbank.account
+if exist %currentPath%\Accounts\%buildMode%\Account.pdb copy %currentPath%\Accounts\%buildMode%\Account.pdb %destinationPath%\packages\bigbank.account
+
+copy %sourcePath%\bigbank.account\*.h %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.composite %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.componentType %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.wsdl %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.xsd %destinationPath%\packages\bigbank.account
+
+copy %sourcePath%\bigbank.accountmanagement\*.composite %destinationPath%\configuration\bigbank.accountmanagement
+
+copy %currentPath%\AccountClient\%buildMode%\AccountClient.exe %destinationPath%\bin
+if exist %currentPath%\AccountClient\%buildMode%\AccountClient.pdb copy %currentPath%\AccountClient\%buildMode%\AccountClient.pdb %destinationPath%\bin
+copy %sourcePath%\bigbank.client\*.bat %destinationPath%\bin
Added: incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/wsdeploy.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/wsdeploy.bat?view=auto&rev=452423
==============================================================================
--- incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/wsdeploy.bat (added)
+++ incubator/tuscany/cpp/sca/samples/ides/devstudio7/projects/BigBank/wsdeploy.bat Tue Oct 3 04:14:37 2006
@@ -0,0 +1,58 @@
+@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%..\..\..\..\BigBank
+
+set buildMode=Release
+if .Debug == .%1 (
+set buildMode=Debug
+)
+
+
+if . == %2. (
+set destinationPath=%sourcePath%\deploy
+) ELSE (
+set destinationPath=%2
+)
+
+if not exist %destinationPath% mkdir %destinationPath%
+if not exist %destinationPath%\packages mkdir %destinationPath%\packages
+if not exist %destinationPath%\packages\Accounts mkdir %destinationPath%\packages\bigbank.account
+if not exist %destinationPath%\configuration mkdir %destinationPath%\configuration
+if not exist %destinationPath%\configuration\Accounts mkdir %destinationPath%\configuration\bigbank.accountmanagement
+if not exist %destinationPath%\bin mkdir %destinationPath%\bin
+
+copy %currentPath%\Accounts\%buildMode%\Account.dll %destinationPath%\packages\bigbank.account
+if exist %currentPath%\Accounts\%buildMode%\Account.pdb copy %currentPath%\Accounts\%buildMode%\Account.pdb %destinationPath%\packages\bigbank.account
+
+copy %sourcePath%\bigbank.account\*.h %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.composite %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.componentType %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.wsdl %destinationPath%\packages\bigbank.account
+copy %sourcePath%\bigbank.account\*.xsd %destinationPath%\packages\bigbank.account
+
+copy %sourcePath%\bigbank.accountmanagement\*.composite %destinationPath%\configuration\bigbank.accountmanagement
+
+copy %currentPath%\WSAccountClient\%buildMode%\WSAccountClient.exe %destinationPath%\bin
+if exist %currentPath%\WSAccountClient\%buildMode%\WSAccountClient.pdb copy %currentPath%\WSAccountClient\%buildMode%\WSAccountClient.pdb %destinationPath%\bin
+copy %sourcePath%\bigbank.wsclient\*.bat %destinationPath%\bin
+copy %sourcePath%\bigbank.account\*.bat %destinationPath%\bin
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org