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 16:10:10 UTC
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:
RE: svn commit: r768347 -
/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
Doable: devenv.exe/.com simply calls msbuild.exe I was being lazy... :)
I'll bug me and make the changes.
-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Tuesday, April 28, 2009 10:19 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Drew,
There isn't any VS* Environment Variables.
How hard would it be to use C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe?
-Ben
-----Original Message-----
From: Drew Baird (Volt) [mailto:a-drewba@microsoft.com]
Sent: Tuesday, April 28, 2009 1:17 PM
To: stonehenge-dev@incubator.apache.org
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Are there any VS* environment variables Exposed? I will make a pass through and add if exists. I hate to mess with the registry in a script to find the IDE path...
Thanks
-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Tuesday, April 28, 2009 10:09 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
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: drewbai@apache.org [mailto:drewbai@apache.org]
Sent: Friday, April 24, 2009 12:10 PM
To: stonehenge-commits@incubator.apache.org
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:
RE: svn commit: r768347 -
/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Posted by Ben Dewey <Be...@26ny.com>.
Drew,
There isn't any VS* Environment Variables.
How hard would it be to use C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe?
-Ben
-----Original Message-----
From: Drew Baird (Volt) [mailto:a-drewba@microsoft.com]
Sent: Tuesday, April 28, 2009 1:17 PM
To: stonehenge-dev@incubator.apache.org
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Are there any VS* environment variables Exposed? I will make a pass through and add if exists. I hate to mess with the registry in a script to find the IDE path...
Thanks
-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Tuesday, April 28, 2009 10:09 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
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: drewbai@apache.org [mailto:drewbai@apache.org]
Sent: Friday, April 24, 2009 12:10 PM
To: stonehenge-commits@incubator.apache.org
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:
RE: svn commit: r768347 -
/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
Are there any VS* environment variables Exposed? I will make a pass through and add if exists. I hate to mess with the registry in a script to find the IDE path...
Thanks
-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Tuesday, April 28, 2009 10:09 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
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: drewbai@apache.org [mailto:drewbai@apache.org]
Sent: Friday, April 24, 2009 12:10 PM
To: stonehenge-commits@incubator.apache.org
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:
RE: svn commit: r768347 -
/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd
Posted by Ben Dewey <Be...@26ny.com>.
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: drewbai@apache.org [mailto:drewbai@apache.org]
Sent: Friday, April 24, 2009 12:10 PM
To: stonehenge-commits@incubator.apache.org
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: