Author: bendewey
Date: Tue Nov 10 04:25:27 2009
New Revision: 834337

URL: http://svn.apache.org/viewvc?rev=834337&view=rev
Log:
STONEHENGE-45, Thanks Nick

Modified:
    incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

Modified: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
URL: 
http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd?rev=834337&r1=834336&r2=834337&view=diff
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (original)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Tue Nov 10 
04:25:27 2009
@@ -18,7 +18,7 @@
 @echo STONEHENGE DOTNET BUILDER
 @echo =======================================================================
 
-echo Building Stonehenge dotnet solutions
+...@echo Building Stonehenge dotnet solutions
 
 @echo Build the solutions. This assumes you have your .Net3.5 installed.
 :: delims is a TAB followed by a space
@@ -37,56 +37,69 @@
 cd .\setup_utilities\SetupActions
 @if not exist SetupActions.sln Goto :Error1
 
+...@title Build SetupActions
 @echo Build SetupActions
 "%MSBuildToolsPath%msbuild" SetupActions.sln /t:Clean /p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" SetupActions.sln /t:Clean /p:Configuration=release
+"%MSBuildToolsPath%msbuild" SetupActions.sln /t:Clean /p:Configuration=Release
 "%MSBuildToolsPath%msbuild" SetupActions.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" SetupActions.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" SetupActions.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
-cd ..\..\config_service
+...@cd ..\..\config_service
 @if not exist ConfigServiceSolution.sln Goto :Error1
 
+...@title Build config_service
 @echo Build config_service
 "%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Clean 
/p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Clean 
/p:Configuration=release
+"%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Clean 
/p:Configuration=Release
 "%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" ConfigServiceSolution.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
-cd ..\business_service
+...@cd ..\business_service
 @if not exist BusinessServiceSolution.sln Goto :Error1
 
+...@title Build business_service
 @echo Build business_service
 "%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Clean 
/p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Clean 
/p:Configuration=release
+"%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Clean 
/p:Configuration=Release
 "%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
-cd ..\order_processor
+...@cd ..\order_processor
 @if not exist OrderProcessorSolution.sln Goto :Error1
 
+...@title Build order_processor
 @echo Build order_processor
 "%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Clean 
/p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Clean 
/p:Configuration=release
+"%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Clean 
/p:Configuration=Release
 "%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
-cd ..\trader_client
+...@cd ..\trader_client
 @if not exist StockTraderWebAppSolution.sln Goto :Error1
 
+...@title Build trader_client
 @echo Build trader_client
 "%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Clean 
/p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Clean 
/p:Configuration=release
+"%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Clean 
/p:Configuration=Release
 "%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
-cd ..\identity_provider
+...@rem Fix for STONEHENGE-45
+rmdir /s /q "Trade\bin"
+mkdir "Trade\bin"
+xcopy /y "bin\Debug\*" "Trade\bin"
+xcopy /y "StockTraderWebApplicationUIModelClasses\bin\Debug\*" "Trade\bin"
+xcopy /y "BusinessServiceClient\bin\Debug\*" "Trade\bin"
+
+...@cd ..\identity_provider
 @if not exist IdentityProviderSolution.sln Goto :Error1
 
-...@echo Build trader_client
+...@title Build identity_provider
+...@echo Build identity_provider
 "%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Clean 
/p:Configuration=Debug
-"%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Clean 
/p:Configuration=release
+"%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Clean 
/p:Configuration=Release
 "%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Build 
/p:Configuration=Debug;Platform="Any CPU"
-"%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Build 
/p:Configuration=release;Platform="Any CPU"
+"%MSBuildToolsPath%msbuild" IdentityProviderSolution.sln /t:Build 
/p:Configuration=Release;Platform="Any CPU"
 
 
 @cd ..
@@ -112,6 +125,7 @@
 @goto Exit
 
 :Exit 
+...@title Done
 @echo ERRORLEVEL is %ERRORLEVEL%
 @echo Done!
 


Reply via email to