stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r590279 - /incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf
Date Tue, 30 Oct 2007 19:32:28 GMT
Author: faridz
Date: Tue Oct 30 12:32:27 2007
New Revision: 590279

URL: http://svn.apache.org/viewvc?rev=590279&view=rev
Log:
2007-10-30 Farid Zaripov <farid_zaripov@epam.com>

	* build.wsf (TimeEcgo): New function to print the message with timestamp.
	Use TimeEcho() for the printing messages on every build stage.

Modified:
    incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf

Modified: incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf?rev=590279&r1=590278&r2=590279&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf (original)
+++ incubator/stdcxx/branches/4.2.x/etc/config/windows/build.wsf Tue Oct 30 12:32:27 2007
@@ -226,6 +226,11 @@
     return 1;
 }
 
+function TimeEcho(msg)
+{
+    WScript.Echo(Date() + ": " + msg);
+}
+
 // the main function of the script
 function build()
 {
@@ -241,7 +246,7 @@
     
     var solutionName = slnDir + "\\" + currentCfg + ".sln";
 
-    WScript.Echo("Loading solution...");
+    TimeEcho("Loading solution...");
     var solution = dte.Solution;
 
     var retCode = 0;
@@ -392,7 +397,7 @@
         oldLogging = projectEngine.BuildLogging;
         projectEngine.BuildLogging = true;
 
-        WScript.Echo("Performing configure step...\n");
+        TimeEcho("Performing configure step...\n");
         var res = BuildProject(solutionBuild, ".configure");
         if (0 < res)
         {
@@ -400,7 +405,7 @@
             break;
         }   
 
-        WScript.Echo("Compiling stdcxx library...\n");
+        TimeEcho("Compiling stdcxx library...\n");
         res = BuildProject(solutionBuild, ".stdcxx");
         if (0 < res)
         {
@@ -408,19 +413,19 @@
             break;
         }   
 
-        WScript.Echo("Compiling examples...\n");
+        TimeEcho("Compiling examples...\n");
         BuildProject(solutionBuild, ".stdcxx_examples");
 
-        WScript.Echo("Compiling rwtest library...\n");
+        TimeEcho("Compiling rwtest library...\n");
         res = BuildProject(solutionBuild, ".rwtest");
         if (0 == res)
         {
             runTests = true;
-            WScript.Echo("Compiling tests...\n");
+            TimeEcho("Compiling tests...\n");
             BuildProject(solutionBuild, ".stdcxx_tests");
         }
 
-        WScript.Echo("Compiling utils...\n");
+        TimeEcho("Compiling utils...\n");
         // compile exec utility
         var resExec = BuildProject(solutionBuild, "util_exec");
         // compile rest utils
@@ -434,12 +439,12 @@
         if (buildOnly)
            break;
 
-        WScript.Echo("Running examples...\n");
+        TimeEcho("Running examples...\n");
         BuildProject(solutionBuild, ".stdcxx_runexamples");
 
         if (runTests)
         {
-            WScript.Echo("Running tests...\n");
+            TimeEcho("Running tests...\n");
             BuildProject(solutionBuild, ".stdcxx_runtests");
         }
         
@@ -449,7 +454,7 @@
             break;
         }   
 
-        WScript.Echo("Running locales tests...");
+        TimeEcho("Running locales tests...");
         BuildProject(solutionBuild, ".stdcxx_testlocales");
     }
     while (false);
@@ -481,10 +486,12 @@
     if (null != prop)
         prop.Value = propVal;
         
+    TimeEcho("Closing the VisualStudio...");
     solution = null;
     dte.Quit();
     dte = null;
 
+    TimeEcho("Exiting...");
     WScript.Quit(retCode);
 }
 



Mime
View raw message