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/24 03:06:11 UTC

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

Author: drewbai
Date: Fri Apr 24 03:06:11 2009
New Revision: 768139

URL: http://svn.apache.org/viewvc?rev=768139&view=rev
Log:

STONEHENGE DOTNET BUILDER
=======================================================================
Assumptions
- This cmd file is being starting in [dotnet] dir
- Run in Administrator mode
- SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

Suggested Upgrades :)
1. We should add logging
2. Add release logic and copy to a release folder
Known Issues
1. ON some VMs There will be errors on closing after BSL and trade_client. Does not effect functionality of the build



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

Added: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd?rev=768139&view=auto
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (added)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Fri Apr 24 03:06:11 2009
@@ -0,0 +1,59 @@
+@echo STONEHENGE DOTNET BUILDER
+@echo =======================================================================
+@echo Assumptions
+@echo   - This cmd file is being starting in [dotnet] dir
+@echo   - Run in Administrator mode
+@echo   - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@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.
+TortoiseProc.exe /command:update /path:"." /closeonend:3
+
+@echo Set path to your visual studio
+set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@REM If you need help with REM Help: >"%buildPath%\devenv" /?
+@Rem Command line usage:
+@Rem devenv solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [ /projectconfig name ] ]
+
+@echo Clean order_processor
+cd .\order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Clean
+
+@echo Build order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Build
+
+@echo Clean business_service
+cd ..\business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Clean
+
+@echo Build business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Build
+
+@echo Clean trader_client
+cd ..\trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Clean
+
+@echo Build trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Build
+
+
+@cd ..
+
+@Echo Done!
+@pause
+
+
+
+



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

Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
I expected that.

VS90COMNTOOLS... is an known environment variable but it needs to go up one and over to get the right place.  We could make a VSDEVENVPATH from the VS90COMNTOOLS on the fly. I was too tired to think about this last night....

cd /d %VS90COMNTOOLS%
cd ..\ide
set VSDEVENVPATH=%cd%

This works on my 32 bit Vista laptop here at home. I will test it on the box at work in an hour or so.

drew



________________________________________
From: Ben Dewey [Ben.Dewey@26ny.com]
Sent: Friday, April 24, 2009 7:05 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: svn commit: r768139 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

Drew,

This build script worked for me.  Thanks.

I did have to change the path to c:\Program Files\MSVS...

I wonder if this is a better default.  Do you think more people out there are running x64 or x86?

-Ben


-----Original Message-----
From: drewbai@apache.org [mailto:drewbai@apache.org]
Sent: Thursday, April 23, 2009 11:06 PM
To: stonehenge-commits@incubator.apache.org
Subject: svn commit: r768139 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

Author: drewbai
Date: Fri Apr 24 03:06:11 2009
New Revision: 768139

URL: http://svn.apache.org/viewvc?rev=768139&view=rev
Log:

STONEHENGE DOTNET BUILDER
=======================================================================
Assumptions
- This cmd file is being starting in [dotnet] dir
- Run in Administrator mode
- SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

Suggested Upgrades :)
1. We should add logging
2. Add release logic and copy to a release folder
Known Issues
1. ON some VMs There will be errors on closing after BSL and trade_client. Does not effect functionality of the build



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

Added: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd?rev=768139&view=auto
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (added)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Fri Apr 24 03:06:11 2009
@@ -0,0 +1,59 @@
+@echo STONEHENGE DOTNET BUILDER
+@echo =======================================================================
+@echo Assumptions
+@echo   - This cmd file is being starting in [dotnet] dir
+@echo   - Run in Administrator mode
+@echo   - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@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.
+TortoiseProc.exe /command:update /path:"." /closeonend:3
+
+@echo Set path to your visual studio
+set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@REM If you need help with REM Help: >"%buildPath%\devenv" /?
+@Rem Command line usage:
+@Rem devenv solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [ /projectconfig name ] ]
+
+@echo Clean order_processor
+cd .\order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Clean
+
+@echo Build order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Build
+
+@echo Clean business_service
+cd ..\business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Clean
+
+@echo Build business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Build
+
+@echo Clean trader_client
+cd ..\trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Clean
+
+@echo Build trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Build
+
+
+@cd ..
+
+@Echo Done!
+@pause
+
+
+
+

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

Posted by Ben Dewey <Be...@26ny.com>.
Drew,

This build script worked for me.  Thanks.

I did have to change the path to c:\Program Files\MSVS...

I wonder if this is a better default.  Do you think more people out there are running x64 or x86?

-Ben


-----Original Message-----
From: drewbai@apache.org [mailto:drewbai@apache.org] 
Sent: Thursday, April 23, 2009 11:06 PM
To: stonehenge-commits@incubator.apache.org
Subject: svn commit: r768139 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

Author: drewbai
Date: Fri Apr 24 03:06:11 2009
New Revision: 768139

URL: http://svn.apache.org/viewvc?rev=768139&view=rev
Log:

STONEHENGE DOTNET BUILDER
=======================================================================
Assumptions
- This cmd file is being starting in [dotnet] dir
- Run in Administrator mode
- SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

Suggested Upgrades :)
1. We should add logging
2. Add release logic and copy to a release folder
Known Issues
1. ON some VMs There will be errors on closing after BSL and trade_client. Does not effect functionality of the build



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

Added: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd?rev=768139&view=auto
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (added)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Fri Apr 24 03:06:11 2009
@@ -0,0 +1,59 @@
+@echo STONEHENGE DOTNET BUILDER
+@echo =======================================================================
+@echo Assumptions
+@echo   - This cmd file is being starting in [dotnet] dir
+@echo   - Run in Administrator mode
+@echo   - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@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.
+TortoiseProc.exe /command:update /path:"." /closeonend:3
+
+@echo Set path to your visual studio
+set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+
+@REM If you need help with REM Help: >"%buildPath%\devenv" /?
+@Rem Command line usage:
+@Rem devenv solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [ /projectconfig name ] ]
+
+@echo Clean order_processor
+cd .\order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Clean
+
+@echo Build order_processor
+"%buildPath%\devenv.com" OrderProcessorSolution.sln  /Build
+
+@echo Clean business_service
+cd ..\business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Clean
+
+@echo Build business_service
+"%buildPath%\devenv.com" BusinessServiceSolution.sln /Build
+
+@echo Clean trader_client
+cd ..\trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Clean
+
+@echo Build trader_client
+"%buildPath%\devenv.com" StockTraderWebAppSolution.sln /Build
+
+
+@cd ..
+
+@Echo Done!
+@pause
+
+
+
+