stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r475242 - /incubator/stdcxx/trunk/etc/config/windows/projectdef.js
Date Wed, 15 Nov 2006 14:13:55 GMT
Author: faridz
Date: Wed Nov 15 06:13:55 2006
New Revision: 475242

URL: http://svn.apache.org/viewvc?view=rev&rev=475242
Log:
2006-11-15 Farid Zaripov <faridz@kyiv.vdiweb.com>

	* projectdef.js (InitVSObjects): Use devenv.com instead of
	devenv.exe to get buildlog in batch build

Modified:
    incubator/stdcxx/trunk/etc/config/windows/projectdef.js

Modified: incubator/stdcxx/trunk/etc/config/windows/projectdef.js
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/projectdef.js?view=diff&rev=475242&r1=475241&r2=475242
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/projectdef.js (original)
+++ incubator/stdcxx/trunk/etc/config/windows/projectdef.js Wed Nov 15 06:13:55 2006
@@ -56,7 +56,11 @@
     {
         dte = WScript.CreateObject("VisualStudio.DTE." + VERSION);
         if (DEVENV == "")
-            DEVENV = dte.FullName;
+        {
+            // use devenv.com executable, if it present
+            var comName = dte.FullName.replace(/\.exe$/i, ".com");
+            DEVENV = fso.FileExists(comName) ? comName : dte.FullName;
+        }
     }
     catch (e) {}
 



Mime
View raw message