stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r548682 - /incubator/stdcxx/trunk/etc/config/windows/build.wsf
Date Tue, 19 Jun 2007 10:28:53 GMT
Author: faridz
Date: Tue Jun 19 03:28:48 2007
New Revision: 548682

URL: http://svn.apache.org/viewvc?view=rev&rev=548682
Log:
2007-06-13 Farid Zaripov <Farid_Zaripov@epam.com>

	* build.wsf (build): Fix the "Call was Rejected By Callee" error.

Modified:
    incubator/stdcxx/trunk/etc/config/windows/build.wsf

Modified: incubator/stdcxx/trunk/etc/config/windows/build.wsf
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/build.wsf?view=diff&rev=548682&r1=548681&r2=548682
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/build.wsf (original)
+++ incubator/stdcxx/trunk/etc/config/windows/build.wsf Tue Jun 19 03:28:48 2007
@@ -223,7 +223,21 @@
         }
         
         var solutionBuild = solution.SolutionBuild;
-        projectEngine = solution.Projects.Item(1).Object.VCProjectEngine;
+
+        // fix 'Call was Rejected By Callee' error
+        // http://msdn2.microsoft.com/en-us/library/ms228772(vs.80).aspx
+        while (true)
+        {
+            try
+            {
+                projectEngine = solution.Projects.Item(1).Object.VCProjectEngine;
+                break;
+            }
+            catch (e)
+            {
+                WScript.Sleep(1000);
+            }
+        }
         
         events = projectEngine.Events;
         try



Mime
View raw message