Drew,

FYI, I was unable to get this build script to work with the Visual Studio Web 
Dev Express install.  There doesn't seem to be a VS90COMNTOOLS Env variable or 
a devenv.com executable with this install.

-Ben




-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Friday, April 24, 2009 12:10 PM
To: [email protected]
Subject: svn commit: r768347 - 
/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd

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:


Reply via email to