[ros-diffs] [dreimer] 28017: - Simplified Build-Shared a bit. - Updated ChangeLog.txt. - Some Code modifications in sSVN for eye candy and future updates. - Updated cutz workaround for supporting sSVN.

dreimer at svn.reactos.org dreimer at svn.reactos.org
Sun Jul 29 20:18:33 CEST 2007


Author: dreimer
Date: Sun Jul 29 22:18:33 2007
New Revision: 28017

URL: http://svn.reactos.org/svn/reactos?rev=28017&view=rev
Log:
- Simplified Build-Shared a bit.
- Updated ChangeLog.txt.
- Some Code modifications in sSVN for eye candy and future updates.
- Updated cutz workaround for supporting sSVN.

Modified:
    trunk/tools/RosBE-Windows/Root/Build-Shared.cmd
    trunk/tools/RosBE-Windows/Root/ChangeLog.txt
    trunk/tools/RosBE-Windows/Root/sSVN.cmd
    trunk/tools/RosBE-Windows/Root/test.cmd
    trunk/tools/RosBE-Windows/Tools/cutz.cmd

Modified: trunk/tools/RosBE-Windows/Root/Build-Shared.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Build-Shared.cmd?rev=28017&r1=28016&r2=28017&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Build-Shared.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Build-Shared.cmd Sun Jul 29 22:18:33 2007
@@ -9,8 +9,6 @@
 ::
 ::
 @echo off
-
-title Building...
 
 ::
 :: Take over the 2nd parameter of Build.cmd, which enables/disables stripping
@@ -75,23 +73,21 @@
 ::
 :: Now use mingw32-make to build ReactOS, passing along options, if any.
 ::
+title Started: %TIMERAW%, Building...
+
 if %ROSBE_SHOWTIME% == 1 (
     if %ROSBE_WRITELOG% == 1 (
-        title Started: %TIMERAW%, Building...
         call buildtime "%MAKE_COMMAND%" 2>&1 | tee "%_ROSBELOGDIR%\BuildLog-%_MINGWVERSION%-%DATENAME%-%TIMENAME%.txt"
     )
     if %ROSBE_WRITELOG% == 0 (
-        title Started: %TIMERAW%, Building...
         call buildtime "%MAKE_COMMAND%" 2>&1
     )
 )
 if %ROSBE_SHOWTIME% == 0 (
     if %ROSBE_WRITELOG% == 1 (
-        title Started: %TIMERAW%, Building...
         call "%MAKE_COMMAND%" 2>&1 | tee "%_ROSBELOGDIR%\BuildLog-%_MINGWVERSION%-%DATENAME%-%TIMENAME%.txt"
     )
     if %ROSBE_WRITELOG% == 0 (
-        title Started: %TIMERAW%, Building...
         call "%MAKE_COMMAND%" 2>&1
     )
 )
@@ -101,7 +97,5 @@
 ::
 call flash
 
-goto :EOB
-
 :EOB
 title ReactOS Build Environment %_VER%

Modified: trunk/tools/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/ChangeLog.txt?rev=28017&r1=28016&r2=28017&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE-Windows/Root/ChangeLog.txt Sun Jul 29 22:18:33 2007
@@ -1,11 +1,16 @@
 *** Oct XXth, 2007 - RosBE 0.3.8 Released
 
-- Added DrFred's Config Tool.
+- Added DrFred's Config Tool. (Daniel Reimer)
+
+*** Aug XXst, 2007 - RosBE 0.3.7.2 Released
+
+- Fixed the double \\ Bug introduced in 0.3.7. (Daniel Reimer)
+- Added Build Begin Time into Topic. (Daniel Reimer)
 
 *** July 26th, 2007 - RosBE 0.3.7.1 Released
 
-- Fixed: "No SVN Tree found" message in Vista.
-- All commands use the current dir now. SO you can use several SVN Source Trees now.
+- Fixed: "No SVN Tree found" message in Vista. (Daniel Reimer)
+- All commands use the current dir now. SO you can use several SVN Source Trees now. (Daniel Reimer)
 
 *** July 22nd, 2007 - RosBE 0.3.7 Released
 

Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?rev=28017&r1=28016&r2=28017&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Sun Jul 29 22:18:33 2007
@@ -50,14 +50,25 @@
 if "%1" == "status" (
     title Status
     call svn info "%CD%" > "%ROSBEBASEDIR%\x.tmp"
-    echo Recent Offline Revision:
-    call grep Revision: "%ROSBEBASEDIR%\x.tmp"|cut -d " " -f 2
+    call grep Revision: "%ROSBEBASEDIR%\x.tmp"|cutz svn > "%ROSBEBASEDIR%\offsvn.tmp"
+    set /P OFFSVN=< "%ROSBEBASEDIR%\offsvn.tmp"
+    call svn info svn://svn.reactos.org/reactos/trunk/reactos > "%ROSBEBASEDIR%\y.tmp"
+    call grep Revision: "%ROSBEBASEDIR%\y.tmp"|cutz svn > "%ROSBEBASEDIR%\onsvn.tmp"
+    set /P ONSVN=< "%ROSBEBASEDIR%\onsvn.tmp"
+    echo Recent Offline Revision: %OFFSVN%
+    echo Online HEAD Revision: %ONSVN%
+    del "%ROSBEBASEDIR%\offsvn.tmp"
+    del "%ROSBEBASEDIR%\onsvn.tmp"
     del "%ROSBEBASEDIR%\x.tmp"
-
-    call svn info svn://svn.reactos.org/reactos/trunk/reactos > "%ROSBEBASEDIR%\x.tmp"
-    echo Online HEAD Revision:
-    call grep Revision: "%ROSBEBASEDIR%\x.tmp"|cut -d " " -f 2
-    del "%ROSBEBASEDIR%\x.tmp"
+    del "%ROSBEBASEDIR%\y.tmp"
+    echo.
+    if %OFFSVN% LSS %ONSVN% (
+        echo Your Tree is not Up to date. Do you want to update it?
+        goto :UP
+    )
+    if %OFFSVN% EQU %ONSVN% (
+    echo Your Tree is Up to date.
+    )
     goto :ExitSVN
 )
 
@@ -66,5 +77,11 @@
     goto :ExitSVN
 )
 
+:UP
+SET /P XY=(yes), (no)
+
+if /I "%XY%"=="yes" call %ROSBEBASEDIR%\ssvn update
+if /I "%XY%"=="no" goto :ExitSVN
+
 :ExitSVN
 title ReactOS Build Environment %_VER%

Modified: trunk/tools/RosBE-Windows/Root/test.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/test.cmd?rev=28017&r1=28016&r2=28017&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/test.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/test.cmd Sun Jul 29 22:18:33 2007
@@ -24,9 +24,9 @@
 goto :RUN
 
 :RUN
-grep \"%XY%\" "%ROSBEBASEDIR%\srclist.xml"|cutz > "%ROSBEBASEDIR%\aaa.tmp"
+grep \"%XY%\" "%ROSBEBASEDIR%\srclist.xml"|cutz dir > "%ROSBEBASEDIR%\aaa.tmp"
 set /P dir=< "%ROSBEBASEDIR%\aaa.tmp"
 del "%ROSBEBASEDIR%\aaa.tmp"
-cd %dir%
+cd /D %dir%
 
 title ReactOS Build Environment %_VER%

Modified: trunk/tools/RosBE-Windows/Tools/cutz.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/cutz.cmd?rev=28017&r1=28016&r2=28017&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Tools/cutz.cmd (original)
+++ trunk/tools/RosBE-Windows/Tools/cutz.cmd Sun Jul 29 22:18:33 2007
@@ -7,4 +7,9 @@
 ::
 ::
 @echo off
-cut -d "\"" -f 4
+if "%1" == "dir" (
+    cut -d "\"" -f 4
+)
+if "%1" == "svn" (
+    cut -d " " -f 2
+)




More information about the Ros-diffs mailing list