incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drew...@apache.org
Subject svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Date Fri, 24 Apr 2009 16:10:10 GMT
Author: drewbai
Date: Fri Apr 24 16:10:09 2009
New Revision: 768347

URL: http://svn.apache.org/viewvc?rev=768347&view=rev
Log:
Add logic to determine devenv path from environment variable: %VS90COMNTOOLS%

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=768347&r1=768346&r2=768347&view=diff
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (original)
+++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Fri Apr 24 16:10:09 2009
@@ -3,7 +3,7 @@
 @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
+@REM @echo   - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
 
 @Echo  Suggested Upgrades :)
 @Echo    1. We should add logging
@@ -21,7 +21,11 @@
 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 set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE
+pushd %VS90COMNTOOLS%
+cd ..\ide
+set buildPath=%cd%
+popd
 
 @REM If you need help with REM Help: >"%buildPath%\devenv" /?
 @Rem Command line usage:



Mime
View raw message