You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-commits@incubator.apache.org by dr...@apache.org on 2009/04/28 23:00:47 UTC

svn commit: r769579 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

Author: drewbai
Date: Tue Apr 28 23:00:46 2009
New Revision: 769579

URL: http://svn.apache.org/viewvc?rev=769579&view=rev
Log:
Fix regression in Stonehenge-41

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=769579&r1=769578&r2=769579&view=diff
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (original)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Tue Apr 28 23:00:46 2009
@@ -1,18 +1,14 @@
 @echo STONEHENGE DOTNET BUILDER
 @echo =======================================================================
+
 @echo Assumptions
 @echo   - This cmd file is being starting in [dotnet] dir
 @echo   - Run in Administrator mode
-@REM @echo   - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
 
-@Echo  Suggested Upgrades :)
+@Echo Suggested Upgrades :)
 @Echo    1. We should add logging
 @Echo    2. Add release logic and copy to a release folder
 
-
-@Echo  Known Issues
-@Echo    1. ON some VMs There will be errors on closing after BSL and trade_client. Does not effect functionality of the build
-
 @pause
 
 @echo Update the source. This assumes you have your Tortose/SVN functional.
@@ -20,21 +16,26 @@
 
 @echo Build the solutions. This assumes you have your .Net3.5 installed.
 :: delims is a TAB followed by a space
-@FOR /F "tokens=2* delims=	 " %%A IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5" /v MSBuildToolsPath') DO SET MSBuildToolsPath=%%B
+@FOR /F "tokens=2* delims=	 " %%A IN (
+  'REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5" /v MSBuildToolsPath'
+) DO SET MSBuildToolsPath=%%B
+
 @ECHO MSBuildToolsPath=%MSBuildToolsPath%
 
 cd .\order_processor
 @echo Build order_processor
 "%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln /t:clean
+"%MSBuildToolsPath%msbuild" OrderProcessorSolution.sln 
 
 cd ..\business_service
 @echo Build business_service
 "%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln /t:clean
+"%MSBuildToolsPath%msbuild" BusinessServiceSolution.sln
 
 cd ..\trader_client
-
 @echo Build trader_client
 "%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln /t:clean
+"%MSBuildToolsPath%msbuild" StockTraderWebAppSolution.sln
 
 @cd ..