Author: peterw
Date: Mon Oct 22 12:33:50 2007
New Revision: 29769
URL: http://svn.reactos.org/svn/reactos?rev=29769&view=rev
Log:
- Revert my last commit as it is wrong.
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Mon Oct 22 12:33:50 2007
@@ -19,6 +19,7 @@
set _ROSBE_BASEDIR=%~dp0
for /f "usebackq" %%i in (`"echo %_ROSBE_BASEDIR%|%_ROSBE_BASEDIR%Tools\sed s/.$//g"`) do set _ROSBE_BASEDIR=%%i
set _ROSBE_ROSSOURCEDIR=%CD%
+set _ROSBE_PREVIOUSSOURCEDIR=""
set _ROSBE_SHOWTIME=1
set _ROSBE_WRITELOG=1
set _ROSBE_USECCACHE=0
Modified: trunk/tools/RosBE-Windows/Root/chdefdir.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Mon Oct 22 12:33:50 2007
@@ -11,13 +11,6 @@
title Change the current working ReactOS source directory...
-::
-:: Check if we already have a previous ReactOS source directory and
-:: if we don't, save it.
-::
-if not exist _ROSBE_PREVIOUSSOURCEDIR (
- set _ROSBE_PREVIOUSSOURCEDIR=""
-)
if not %_ROSBE_PREVIOUSSOURCEDIR% == %_ROSBE_ROSSOURCEDIR% (
set _ROSBE_PREVIOUSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
)
Author: peterw
Date: Mon Oct 22 12:31:14 2007
New Revision: 29768
URL: http://svn.reactos.org/svn/reactos?rev=29768&view=rev
Log:
- Move the definition of _ROSBE_PREVIOUSSOURCEDIR into chdefdir.cmd where it belongs.
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Mon Oct 22 12:31:14 2007
@@ -19,7 +19,6 @@
set _ROSBE_BASEDIR=%~dp0
for /f "usebackq" %%i in (`"echo %_ROSBE_BASEDIR%|%_ROSBE_BASEDIR%Tools\sed s/.$//g"`) do set _ROSBE_BASEDIR=%%i
set _ROSBE_ROSSOURCEDIR=%CD%
-set _ROSBE_PREVIOUSSOURCEDIR=""
set _ROSBE_SHOWTIME=1
set _ROSBE_WRITELOG=1
set _ROSBE_USECCACHE=0
Modified: trunk/tools/RosBE-Windows/Root/chdefdir.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Mon Oct 22 12:31:14 2007
@@ -15,6 +15,9 @@
:: Check if we already have a previous ReactOS source directory and
:: if we don't, save it.
::
+if not exist _ROSBE_PREVIOUSSOURCEDIR (
+ set _ROSBE_PREVIOUSSOURCEDIR=""
+)
if not %_ROSBE_PREVIOUSSOURCEDIR% == %_ROSBE_ROSSOURCEDIR% (
set _ROSBE_PREVIOUSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
)
Author: peterw
Date: Mon Oct 22 12:07:34 2007
New Revision: 29767
URL: http://svn.reactos.org/svn/reactos?rev=29767&view=rev
Log:
- Fix up chdefdir.cmd a bit and more cleanup.
Modified:
trunk/tools/RosBE-Windows/Root/Clean.cmd
trunk/tools/RosBE-Windows/Root/Config.cmd
trunk/tools/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/RosBE.mac
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
trunk/tools/RosBE-Windows/Root/reladdr2line.cmd
trunk/tools/RosBE-Windows/Root/sSVN.cmd
trunk/tools/RosBE-Windows/Root/scut.cmd
Modified: trunk/tools/RosBE-Windows/Root/Clean.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Clean.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Clean.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Clean.cmd Mon Oct 22 12:07:34 2007
@@ -103,7 +103,6 @@
) else (
echo ERROR: There is nothing to clean.
)
- title ReactOS Build Environment %_ROSBE_VERSION%
goto :EOC
)
if "%1" == "logs" (
Modified: trunk/tools/RosBE-Windows/Root/Config.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Config.cm…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Config.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Config.cmd Mon Oct 22 12:07:34 2007
@@ -16,9 +16,9 @@
if "%1" == "delete" (
echo config.rbuild will be permanently deleted. All your settings will be gone.
echo Continue?
- set /P XY="(yes), (no)"
- if /I "%XY%"=="yes" goto :CONT
- if /I "%XY%"=="no" goto :NOK
+ set /p XY="(yes), (no)"
+ if /i "%XY%"=="yes" goto :CONT
+ if /i "%XY%"=="no" goto :NOK
goto :NOK
:CONT
@@ -40,9 +40,9 @@
echo old config.rbuild will be deleted and will be updated with a recent,
echo default one. You will need to reconfigure it to your wishes later.
echo Continue?
- set /P XY="(yes), (no)"
- if /I "%XY%"=="yes" goto :CONT2
- if /I "%XY%"=="no" goto :NOK
+ set /p XY="(yes), (no)"
+ if /i "%XY%"=="yes" goto :CONT2
+ if /i "%XY%"=="no" goto :NOK
:CONT2
del "%_ROSBE_BASEDIR%\*.rbuild"
del "config.rbuild"
@@ -71,10 +71,10 @@
echo.
echo DID YOU UNDERSTAND?
-set /P XY="(yes), (no)"
-
-if /I "%XY%"=="yes" goto :OK
-if /I "%XY%"=="no" goto :NOK
+set /p XY="(yes), (no)"
+
+if /i "%XY%"=="yes" goto :OK
+if /i "%XY%"=="no" goto :NOK
goto :NOK
:OK
@@ -92,9 +92,9 @@
echo *** update to the most recent one? You need to reset all your ***
echo *** previously made settings. ***
echo.
- set /P XY="(yes), (no)"
- if /I "%XY%"=="yes" del "%_ROSBE_BASEDIR%\*.rbuild" | del "config.rbuild" | copy "config.template.rbuild" "%_ROSBE_BASEDIR%\config.rbuild" | goto :OK
- if /I "%XY%"=="no" goto :NOK
+ set /p XY="(yes), (no)"
+ if /i "%XY%"=="yes" del "%_ROSBE_BASEDIR%\*.rbuild" | del "config.rbuild" | copy "config.template.rbuild" "%_ROSBE_BASEDIR%\config.rbuild" | goto :OK
+ if /i "%XY%"=="no" goto :NOK
goto :NOK
)
)
@@ -107,7 +107,7 @@
echo.
echo Right now:
grep \"SARCH\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P X="(), (xbox)"
+set /p X="(), (xbox)"
sed "s/\"SARCH\" value=\"\"/\"SARCH\" value=\"%X%\"/g;s/\"SARCH\" value=\"xbox\"/\"SARCH\" value=\"%X%\"/g" "%_ROSBE_BASEDIR%\config.rbuild" > "%_ROSBE_BASEDIR%\config2.rbuild"
cls
@@ -120,7 +120,7 @@
echo.
echo Right now:
grep \"OARCH\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P XX=
+set /p XX=
if "%XX%" == "" (
set XX=pentium
)
@@ -136,7 +136,7 @@
echo.
echo Right now:
grep \"OPTIMIZE\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P Y="(0), (1), (2), (3), (4), (5)"
+set /p Y="(0), (1), (2), (3), (4), (5)"
if "%Y%" == "" (
set Y=1
)
@@ -148,7 +148,7 @@
echo.
echo Right now:
grep \"MP\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P Z="(0), (1)"
+set /p Z="(0), (1)"
if "%Z%" == "" (
set Z=0
)
@@ -160,7 +160,7 @@
echo.
echo Right now:
grep \"KDBG\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P A="(0), (1)"
+set /p A="(0), (1)"
if "%A%" == "" (
set A=0
)
@@ -173,7 +173,7 @@
echo.
echo Right now:
grep \"DBG\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P B="(0), (1)"
+set /p B="(0), (1)"
if "%B%" == "" (
set B=1
)
@@ -186,7 +186,7 @@
echo.
echo Right now:
grep \"GDB\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P C="(0), (1)"
+set /p C="(0), (1)"
if "%C%" == "" (
set C=0
)
@@ -201,7 +201,7 @@
echo.
echo Right now:
grep \"NSWPAT\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P D="(0), (1)"
+set /p D="(0), (1)"
if "%D%" == "" (
set D=0
)
@@ -218,7 +218,7 @@
echo.
echo Right now:
grep \"_WINKD_\" "%_ROSBE_BASEDIR%\config.rbuild"|cut -d "\"" -f 4
-set /P F="(0), (1)"
+set /p F="(0), (1)"
if "%F%" == "" (
set F=0
)
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Mon Oct 22 12:07:34 2007
@@ -9,54 +9,40 @@
::
@echo off
-title ReactOS Build Environment %_ROSBE_VERSION%
-
::
-:: Receive the first Parameter and decide what to do.
+:: Check if we are displaying help on all commands, if so, display it.
::
if "%1" == "" (
echo.
echo Available Commands:
+ echo make [OPTIONS] - Without options it does a standard build of
+ echo ReactOS. OPTIONS are the standard ReactOS build
+ echo options ie. "bootcd"
+ echo makex [OPTIONS] - Same as 'make' but automatically determines the
+ echo number of CPU Cores in the system and uses -j
+ echo with the appropriate number.
+ echo basedir - Switch back to the ReactOS source directory.
- if exist "%_ROSBE_BASEDIR%\build.cmd" (
- echo make [OPTIONS] - Without options it does a standard build of
- echo ReactOS. OPTIONS are the standard ReactOS build
- echo options ie. "bootcd"
- echo makex [OPTIONS] - Same as 'make' but automatically determines the
- echo number of CPU Cores in the system and uses -j
- echo with the appropriate number.
+ if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
+ echo chdefdir [OPTIONS] - Change the ReactOS source directory for the
+ echo current RosBE session.
)
- echo basedir - Switch back to the ReactOS source directory.
- echo.
-
- if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
- echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one
- echo Session.
- )
-
- if exist "%_ROSBE_BASEDIR%\clean.cmd" (
echo clean [logs] - Fully clean the ReactOS source directory and/or
echo the RosBE build logs.
- )
- if exist "%_ROSBE_BASEDIR%\config.cmd" (
- echo config [OPTIONS] - Configures the way, ReactOS will be built.
- echo.
+ if exist "%_ROSBE_BASEDIR%\Config.cmd" (
+ echo config [OPTIONS] - Configures the way, ReactOS will be built.
+ echo.
)
echo help [COMMAND] - Display the available commands or help on a
echo specific command.
- if exist "%_ROSBE_BASEDIR%\options.cmd" (
- echo options - Starts options.exe and restarts RosBE to make
- echo the changes effective at the end.
- )
-
if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
- echo raddr2line [OPTIONS] - Translates program addresses into file names and
- echo line numbers to assist Developers to find
- echo specific Bugs in ReactOS.
+ echo raddr2line [OPTIONS] - Translates program addresses into file names and
+ echo line numbers to assist Developers to find
+ echo specific Bugs in ReactOS.
)
if exist "%_ROSBE_BASEDIR%\scut.cmd" (
@@ -65,18 +51,29 @@
)
if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
- echo ssvn [OPTIONS] - Create, Update or Clean-up your ReactOS Source
- echo Tree or show the Revision Number of the Offline
- echo Tree and Online HEAD Revision.
+ echo ssvn [OPTIONS] - Create, Update or Clean-up your ReactOS Source
+ echo Tree or show the Revision Number of the Offline
+ echo Tree and Online HEAD Revision.
)
- goto :EOF
+ if exist "%_ROSBE_BASEDIR%\options.cmd" (
+ echo options - Starts options.exe and restarts RosBE to make
+ echo the changes effective at the end.
+ )
+
+ echo.
+ goto :EOC
)
+
+::
+:: Now check if we are displaying help on individual commands, if so,
+:: display the help for that command.
+::
if "%1" == "make" (
echo Usage: make [OPTIONS]
echo Without options it does a standard build of ReactOS. OPTIONS are the
echo standard ReactOS build options ie. "bootcd", "livecd", etc.
- goto :EOF
+ goto :EOC
)
if "%1" == "makex" (
echo Usage: makex [OPTIONS]
@@ -85,92 +82,105 @@
echo NOTE: The number makex uses can be modified by editing Build.cmd
echo located in the RosBE directory, instructions for doing so are
echo contained within the file.
- goto :EOF
+ goto :EOC
+)
+if "%1" == "basedir" (
+ echo Usage: basedir
+ echo Switches back to the ReactOS source directory.
+ goto :EOC
+)
+if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
+ if "%1" == "chdefdir" (
+ echo Usage: chdefdir [OPTIONS]
+ echo Change the ReactOS source directory for the current RosBE session.
+ echo.
+ echo previous - Switch to the previous ReactOS source directory.
+ goto :EOC
+ )
)
if "%1" == "clean" (
echo Usage: clean [logs]
echo Fully clean the ReactOS source directory.
echo.
echo logs - Removes all build logs in the RosBE-Logs directory.
- goto :EOF
+ goto :EOC
)
-if "%1" == "chdefdir" (
- echo Usage: chdefdir [OPTIONS]
- echo Reconfigures the Default Source Folder for one Session. Exiting
- echo sets RosBE back to the Default.
- echo.
- echo default - Sets back to the Default Source Folder without a restart
- echo of RosBE.
- goto :EOF
+if exist "%_ROSBE_BASEDIR%\Config.cmd" (
+ if "%1" == "config" (
+ echo Usage: config [OPTIONS]
+ echo Creates a Configuration File, which tells RosBE how to build the Tree.
+ echo.
+ echo delete - Deletes the created configuration File and so sets back
+ echo to default settings.
+ echo update - Deletes the old created configuration File and updats
+ echo with a new, default one.
+ goto :EOC
+ )
)
if "%1" == "help" (
echo Usage: help [COMMAND]
echo Shows help for the specified command or lists all available commands.
- goto :EOF
+ goto :EOC
)
-if "%1" == "ssvn" (
- echo Usage: ssvn [OPTIONS]
- echo Creates, Updates or cleans up your ReactOS Source Tree or shows the
- echo Revision Number of the Offline Tree and Online HEAD Revision.
- echo.
- echo update - Updates to HEAD Revision or to a specific one when
- echo second parameter specifies one.
- echo create - Creates a new ReactOS Source Tree.
- echo cleanup - Cleans up and fixes errors in the Source Tree.
- echo status - Shows Actual offline Revision Number and online HEAD
- echo Revision Number.
- goto :EOF
+if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
+ if "%1" == "raddr2line" (
+ echo Usage: raddr2line [OPTIONS]
+ echo Translates program addresses into file names and line numbers to
+ echo assist Developers to find specific Bugs in ReactOS.
+ echo.
+ echo USAGE: - The first parameter has to be the Executable to be analyzed.
+ echo - The second one has to be the address to be translated.
+ echo.
+ echo If you don't set the needed Parameters, you will be asked for them.
+ goto :EOC
+ )
)
-if "%1" == "config" (
- echo Usage: config [OPTIONS]
- echo Creates a Configuration File, which tells RosBE how to build the Tree.
- echo.
- echo delete - Deletes the created configuration File and so sets back
- echo to default settings.
- echo update - Deletes the old created configuration File and updats
- echo with a new, default one.
- goto :EOF
+if exist "%_ROSBE_BASEDIR%\scut.cmd" (
+ if "%1" == "scut" (
+ echo Usage: scut [OPTIONS]
+ echo Defines, Edits, Removes, Switches and Defaults to Shortcutted Source
+ echo Directories. scut started without a parameter or with the name of a
+ echo Shortcut as parameter sets this Shortcut active.
+ echo.
+ echo add - Adds a Shortcut.
+ echo (Optional: "Shortcut" "Directory" as second and third parameter)
+ echo rem - Removes a shortcut.
+ echo (Optional: "Shortcut" as second parameter)
+ echo edit - Edits a shortcut.
+ echo (Optional: "Shortcut" "Directory" as second and third parameter)
+ echo def - Chooses Default Shortcut which is enabled on
+ echo every start of RosBE. "Default" is the Source
+ echo Directory as you know it from previous Versions
+ goto :EOC
+ )
)
-if "%1" == "raddr2line" (
- echo Usage: raddr2line [OPTIONS]
- echo Translates program addresses into file names and line numbers to
- echo assist Developers to find specific Bugs in ReactOS.
- echo.
- echo USAGE: - The first parameter has to be the Executable to be analyzed.
- echo - The second one has to be the address to be translated.
- echo.
- echo If you don't set the needed Parameters, you will be asked for them.
- goto :EOF
+if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
+ if "%1" == "ssvn" (
+ echo Usage: ssvn [OPTIONS]
+ echo Creates, Updates or cleans up your ReactOS Source Tree or shows the
+ echo Revision Number of the Offline Tree and Online HEAD Revision.
+ echo.
+ echo update - Updates to HEAD Revision or to a specific one when
+ echo second parameter specifies one.
+ echo create - Creates a new ReactOS Source Tree.
+ echo cleanup - Cleans up and fixes errors in the Source Tree.
+ echo status - Shows Actual offline Revision Number and online HEAD
+ echo Revision Number.
+ goto :EOC
+ )
)
-if "%1" == "basedir" (
- echo Usage: basedir
- echo Switches back to the ReactOS source directory.
- goto :EOF
-)
-if "%1" == "options" (
- echo Usage: options
- echo Starts RosBE Configurator and restarts RosBE afterwards to make the
- echo changes effective at the end.
- goto :EOF
-)
-if "%1" == "scut" (
- echo Usage: scut [OPTIONS]
- echo Defines, Edits, Removes, Switches and Defaults to Shortcutted Source
- echo Directories. scut started without a parameter or with the name of a
- echo Shortcut as parameter sets this Shortcut active.
- echo.
- echo add - Adds a Shortcut.
- echo (Optional: "Shortcut" "Directory" as second and third parameter)
- echo rem - Removes a shortcut.
- echo (Optional: "Shortcut" as second parameter)
- echo edit - Edits a shortcut.
- echo (Optional: "Shortcut" "Directory" as second and third parameter)
- echo def - Chooses Default Shortcut which is enabled on
- echo every start of RosBE. "Default" is the Source
- echo Directory as you know it from previous Versions
- goto :EOF
+if exist "%_ROSBE_BASEDIR%\options.cmd" (
+ if "%1" == "options" (
+ echo Usage: options
+ echo Starts RosBE Configurator and restarts RosBE afterwards to make the
+ echo changes effective at the end.
+ goto :EOC
+ )
)
if not "%1" == "" (
- echo Unknown parameter specified. Try 'help [COMMAND]'.
- goto :EOF
+ echo Unknown command specified. No help available for %1.
+ goto :EOC
)
+
+:EOC
+title ReactOS Build Environment %_ROSBE_VERSION%
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Mon Oct 22 12:07:34 2007
@@ -19,6 +19,7 @@
set _ROSBE_BASEDIR=%~dp0
for /f "usebackq" %%i in (`"echo %_ROSBE_BASEDIR%|%_ROSBE_BASEDIR%Tools\sed s/.$//g"`) do set _ROSBE_BASEDIR=%%i
set _ROSBE_ROSSOURCEDIR=%CD%
+set _ROSBE_PREVIOUSSOURCEDIR=""
set _ROSBE_SHOWTIME=1
set _ROSBE_WRITELOG=1
set _ROSBE_USECCACHE=0
@@ -87,7 +88,7 @@
::
:: Look if the Source Folder is empty. If so, ask for using "ssvn create".
::
-dir /b "%_ROSBE_ROSSOURCEDIR%" 2>nul|findstr "." >nul
+dir /b "%_ROSBE_ROSSOURCEDIR%" 2>nul | findstr "." >nul
if errorlevel 1 (
echo No ReactOS Source detected. Please use "ssvn create" to download it.
)
Modified: trunk/tools/RosBE-Windows/Root/RosBE.mac
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.mac…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.mac (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.mac Mon Oct 22 12:07:34 2007
@@ -1,4 +1,5 @@
BASEDIR = cd /d "%_ROSBE_ROSSOURCEDIR%"
+CHDEFDIR = "%_ROSBE_BASEDIR%\chdefdir.cmd" $*
CLEAN = "%_ROSBE_BASEDIR%\Clean.cmd" $*
CONFIG = "%_ROSBE_BASEDIR%\Config.cmd" $*
HELP = "%_ROSBE_BASEDIR%\Help.cmd" $*
@@ -8,4 +9,3 @@
SCUT = "%_ROSBE_BASEDIR%\scut.cmd" $*
SSVN = "%_ROSBE_BASEDIR%\sSVN.cmd" $*
OPTIONS = "%_ROSBE_BASEDIR%\options.cmd" $*
-CHDEFDIR = "%_ROSBE_BASEDIR%\chdefdir.cmd" $*
Modified: trunk/tools/RosBE-Windows/Root/chdefdir.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Mon Oct 22 12:07:34 2007
@@ -2,48 +2,57 @@
:: PROJECT: RosBE - ReactOS Build Environment for Windows
:: LICENSE: GPL - See LICENSE.txt in the top level directory
:: FILE: Root/chdefdir.cmd
-:: PURPOSE: Tool to change the Default Work Dir in RosBE.
+:: PURPOSE: Tool to change the current working ReactOS source directory
+:: in RosBE.
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
::
@echo off
-title Change the Default Dir...
+title Change the current working ReactOS source directory...
::
-:: Create a Backup Variable to revert to Default if wanted.
+:: Check if we already have a previous ReactOS source directory and
+:: if we don't, save it.
::
-if not defined _ROSBE_ROSSOURCEDIRBCK (
- set _ROSBE_ROSSOURCEDIRBCK=%_ROSBE_ROSSOURCEDIR%
+if not %_ROSBE_PREVIOUSSOURCEDIR% == %_ROSBE_ROSSOURCEDIR% (
+ set _ROSBE_PREVIOUSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
)
::
-:: Parse the commands.
+:: Parse the command line arguments.
::
if /i "%1" == "" (
goto :INTERACTIVE
)
-if /i "%1" == "default" (
- set _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIRBCK%
+if /i "%1" == "previous" (
+ set _ROSBE_ROSSOURCEDIR=%_ROSBE_PREVIOUSSOURCEDIR%
) else (
+ if not exist "%1\." (
+ echo The path specified doesn't seem to exist.
+ goto :EOC
+ )
set _ROSBE_ROSSOURCEDIR=%1
)
-goto :END
+goto :EOC
:INTERACTIVE
-echo Type in a Path to use RosBE in or "default" to revert to Default Dir:
-set /p XY=
+set /p XY="Please enter a ReactOS source directory, or 'previous': "
if /i "%XY%" == "" (
- goto :END
+ echo You must either enter a directory or "previous".
+ goto :EOC
)
-if /i "%XY%"=="default" (
- set _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
+if /i "%XY%"=="previous" (
+ set _ROSBE_ROSSOURCEDIR=%_ROSBE_PREVIOUSSOURCEDIR%
) else (
+ if not exist "%XY%\." (
+ echo The path specified doesn't seem to exist.
+ goto :EOC
+ )
set _ROSBE_ROSSOURCEDIR=%XY%
)
-goto :END
-:END
+:EOC
title ReactOS Build Environment %_ROSBE_VERSION%
cd /d "%_ROSBE_ROSSOURCEDIR%"
Modified: trunk/tools/RosBE-Windows/Root/reladdr2line.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/reladdr2l…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/reladdr2line.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/reladdr2line.cmd Mon Oct 22 12:07:34 2007
@@ -32,11 +32,9 @@
:: If Parameters were set, parse them, if not, ask the user to add them.
::
:MAN
-echo Set the Path to the Executable to be examined.
-SET /P _1=
+set /p _1="Please enter the path to the executable to be examined: "
:AUTO1
-echo Set the Address you wanna analyze inside the Executable.
-SET /P _2=
+set /p _2="Please enter the address you would like to analyze: "
:EOC
::
@@ -46,11 +44,12 @@
:: give the result to raddr2line.
::
for /f "tokens=2" %%i in ('"objdump -p %_1% 2>NUL | findstr ImageBase"') do set baseaddr=0x%%i
-if %%i LSS %_2% (
+if %%i lss %_2% (
raddr2line "%_1%" "%_2%" 2>NUL
) else (
set /a baseaddr+=0x%_2%
for /f %%i in ('"echoh %baseaddr%"') do set relbase=%%i
raddr2line "%_1%" "%relbase%" 2>NUL
)
+
title ReactOS Build Environment %_ROSBE_VERSION%
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Mon Oct 22 12:07:34 2007
@@ -1,7 +1,7 @@
::
:: PROJECT: RosBE - ReactOS Build Environment for Windows
:: LICENSE: GPL - See LICENSE.txt in the top level directory.
-:: FILE: Root/SVN.cmd
+:: FILE: Root/sSVN.cmd
:: PURPOSE: Integrated SVN Client.
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
@@ -81,9 +81,9 @@
)
:UP2
-set /P XY="(yes), (no)"
-if /I "%XY%"=="yes" %_ROSBE_BASEDIR%\ssvn update
-if /I "%XY%"=="no" goto :ExitSVN
+set /p XY="(yes), (no)"
+if /i "%XY%"=="yes" %_ROSBE_BASEDIR%\ssvn update
+if /i "%XY%"=="no" goto :ExitSVN
:ExitSVN
title ReactOS Build Environment %_ROSBE_VERSION%
Modified: trunk/tools/RosBE-Windows/Root/scut.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/scut.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/scut.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/scut.cmd Mon Oct 22 12:07:34 2007
@@ -52,8 +52,7 @@
:: Load Shortcut from txt and set it active.
::
:DEF
-echo Choose your Source Folder:
-set /p XY=
+set /p XY="Choose your Source Folder: "
:RUN
for /f "usebackq tokens=1-2 delims=, skip=1" %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %XY% (
@@ -82,11 +81,9 @@
)
:ADD1
-echo Choose your Shortcut:
-set /p CUT=
+set /p CUT="Choose your Shortcut: "
:ADD2
-echo Choose your Source Folder:
-set /p DIR=
+set /p DIR="Choose your Source Folder: "
:ADD23
for /f "usebackq tokens=1-2 delims=, skip=1" %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %CUT% (
@@ -107,8 +104,7 @@
set CUTREM=%2
goto :REM1
)
-echo Choose your Shortcut:
-set /p CUTREM=
+set /p CUTREM="Choose your Shortcut: "
:REM1
set _ROSBE_REM=0
for /f "usebackq tokens=1-2 delims=," %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
@@ -136,8 +132,7 @@
set DIR=%2
goto :DEF1
)
-echo Choose your new Default Shortcut:
-set /p DIR=
+set /p DIR="Choose your new Default Shortcut: "
:DEF1
call "%_ROSBE_BASEDIR%\scut.cmd" edit Base %DIR%
@@ -159,11 +154,9 @@
)
:EDIT1
-echo Choose your Shortcut:
-set /p CUT=
+set /p CUT="Choose your Shortcut: "
:EDIT2
-echo Choose your Source Folder:
-set /p DIR=
+set /p DIR="Choose your Source Folder: "
:EDIT23
set _ROSBE_EDIT=0
for /f "usebackq tokens=1-2 delims=," %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
Author: dreimer
Date: Mon Oct 22 11:52:42 2007
New Revision: 29766
URL: http://svn.reactos.org/svn/reactos?rev=29766&view=rev
Log:
Fix a typo in RosBE.cmd
Make sure that loading chdefdir more than once does not overwrite the Backup.
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Mon Oct 22 11:52:42 2007
@@ -105,7 +105,7 @@
set _ROSBE_GCCVERSION=4.1.3
set PATH=%_ROSBE_MINGWPATH%\bin;%_ROSBE_MINGWPATH%\libexec\gcc\mingw32\4.1.3;%PATH%
set _ROSBE_MINGWMAKE=%_ROSBE_MINGWPATH%\bin\mingw32-make.exe
- if defined _ROSBE_OLDEMODE (
+ if defined _ROSBE_OLDMODE (
set C_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\4.1.3\include
set CPLUS_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\include\c++\4.1.3;%_ROSBE_MINGWPATH%\include\c++\4.1.3\mingw32;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\4.1.3\include
)
Modified: trunk/tools/RosBE-Windows/Root/chdefdir.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Mon Oct 22 11:52:42 2007
@@ -10,8 +10,16 @@
title Change the Default Dir...
-set _ROSBE_ROSSOURCEDIRBCK=%_ROSBE_ROSSOURCEDIR%
+::
+:: Create a Backup Variable to revert to Default if wanted.
+::
+if not defined _ROSBE_ROSSOURCEDIRBCK (
+ set _ROSBE_ROSSOURCEDIRBCK=%_ROSBE_ROSSOURCEDIR%
+)
+::
+:: Parse the commands.
+::
if /i "%1" == "" (
goto :INTERACTIVE
)
Author: dreimer
Date: Mon Oct 22 03:53:42 2007
New Revision: 29762
URL: http://svn.reactos.org/svn/reactos?rev=29762&view=rev
Log:
Started to Update the Documentation.
Some more fixes to changelog.
Sorted and fixed parts of the help.
Added echo Messages which tell a sucessful process.
Modified:
trunk/tools/RosBE-Windows/Documentation/files/adv.html
trunk/tools/RosBE-Windows/Documentation/files/basic.html
trunk/tools/RosBE-Windows/Documentation/files/credits.html
trunk/tools/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE-Windows/Root/scut.cmd
Modified: trunk/tools/RosBE-Windows/Documentation/files/adv.html
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Documentation/…
==============================================================================
--- trunk/tools/RosBE-Windows/Documentation/files/adv.html (original)
+++ trunk/tools/RosBE-Windows/Documentation/files/adv.html Mon Oct 22 03:53:42 2007
@@ -7,6 +7,6 @@
<meta name="description" content="Lists the Advanced Features of RosBE">
</head>
<body>
-<p>SVN 1.4.4 is included in RosBE. Manual can be found here:</p>
+<p>SVN 1.4.5 is included in RosBE. Manual can be found here:</p>
</body>
</html>
Modified: trunk/tools/RosBE-Windows/Documentation/files/basic.html
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Documentation/…
==============================================================================
--- trunk/tools/RosBE-Windows/Documentation/files/basic.html (original)
+++ trunk/tools/RosBE-Windows/Documentation/files/basic.html Mon Oct 22 03:53:42 2007
@@ -1,181 +1,138 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <title>Basic Features</title>
- <meta content="Daniel Reimer" name="author">
- <meta content="Lists the Basic Features of RosBE" name="description">
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Basic Features</title>
+ <meta content="Daniel Reimer" name="author">
+ <meta content="Lists the Basic Features of RosBE" name="description">
</head>
<body>
- <dl>
- <dt>make</dt>
- <dd>Usage: make [OPTIONS1] [OPTIONS2]</dd>
- <dd>
- The command to build the ReactOS Source Tree in the Default
- directory.<br>
- Without options it does a standard build of ReactOS. OPTIONS1 are
- the standard ReactOS build options ie.
- <dd>
- <ul>
- <li>bootcd</li>
- <li>livecd</li>
- <li>etc.</li>
- </ul>
- <br>
- <ul>
- <li><dfn>strip</dfn> as optional second parameter sets stripping to
- enabled and thus reduces File Size by ~30% and Minimum
- needed RAM to use ReactOS to ~24 MB. ISOs built with this
- command are NOT usable to file bugs in any way!
- </li>
- </ul>
- </dd>
-
-
- <dt>makex</dt>
- <dd>Usage: makex [OPTIONS1] [OPTIONS2]</dd>
- <dd>
- Same as 'make' but automatically determines the number of CPU Cores
- in your system and uses "make -j x" with the appropriate number to
- threaden the build process for a massive speedup on Multi Core
- Systems.<br>
- NOTE: The number makex uses can be modified by editing
- Build-Multi.cmd located in the RosBE directory, instructions for
- doing so are contained within the file. This Command is incompatible
- to Windows Vista right now due to a bug in GCC 4.X.X.
- </dd>
-
-
- <dt>clean</dt>
- <dd>Usage: clean [logs]</dd>
- <dd>
- Fully cleans the ReactOS source directory and does a better job than
- "make clean" does.<br>
- It deletes files, which are being generated into the Source Tree
- while compiling. After using this Command the tree is completely
- cleaned up and 1:1 like a fresh loaded one.
- </dd>
- <dd>
- <ul>
- <li>
- <dfn>logs</dfn> - Removes all build logs in the RosBE-Logs
- directory.
- </li>
- </ul>
- </dd>
-
-
- <dt>help</dt>
- <dd>Usage: help [COMMAND]</dd>
- <dd>
- Shows help for the specified command or lists all available
- commands.
- </dd>
-
-
- <dt>ssvn</dt>
- <dd>Usage: ssvn [OPTIONS]</dd>
- <dd>
- This is the simple to use sSVN, written for newbies. It only
- Creates, Updates or cleans up your ReactOS Source Tree or shows the
- Revision Number of the Offline Tree and Online HEAD Revision to see
- if its up to date. No need for any additional parameters, just
- "ssvn update" and your Tree is fully updated.
- </dd>
- <dd>
- <ul>
- <li>
- <dfn>update</dfn>
- - Updates to HEAD Revision or to a specific one when second
- parameter specifies one.
- </li>
- <li>
- <dfn>create</dfn>
- - Creates a new ReactOS Source Tree and got some Security
- Features. It checks if the folder is empty, contains a
- Source Tree or any other files and Cancels if continuing is
- unsecure.
- </li>
- <li>
- <dfn>cleanup</dfn>
- - Cleans up and fixes errors in the Source Tree. It is
- mainly needed if the "ssvn update" or "ssvn create" command
- got aborted in any way or show problems like error messages
- etc.
- </li>
- <li>
- <dfn>status</dfn>
- - Shows Actual offline Revision Number and online HEAD
- Revision Number to see if its up to date.
- </li>
- </ul>
- </dd>
-
-
- <dt>chdefdir</dt>
- <dd>Usage: chdefdir [OPTIONS]</dd>
- <dd>
- Reconfigures the Default Source Folder for one Session. This is
- useful for switching between branches or different ReactOS Source
- Trees. Exiting RosBE sets back to the Default.
- </dd>
- <dd>
- <ul>
- <li>
- <dfn>default</dfn>
- - Sets back to the Default Source Folder without a restart
- of RosBE.
- </li>
- </ul>
- </dd>
-
-
- <dt>config</dt>
- <dd>Usage: config [OPTIONS]</dd>
- <dd>
- This Command creates a Configuration File, which tells RosBE how to
- build the Tree. There are many things you can modify in the build
- process and this tool can edit all for you. ISOs made with a non
- default are NOT usable to file bugs in any way!
- </dd>
- <dd>
- <ul>
- <li>
- <dfn>delete</dfn>
- - Deletes the created configuration File and so sets back to
- default settings.
- </li>
- </ul>
- </dd>
-
-
- <dt>raddr2line</dt>
- <dd>Usage: raddr2line [OPTIONS]</dd>
- <dd>
- This Command translates program addresses of BSODs into file names
- and line numbers of the Code it was built of to assist Developers to
- find specific Bugs in ReactOS. This Tool is mainly a Dev Tool.
- Newbies normally only need it if a devs wants them to try out
- something.
- </dd>
- <dd>
- <ul>
- <li>
- <dfn>first parameter</dfn>
- - has to be the Executable to be analyzed.
- </li>
- <li>
- <dfn>second parameter</dfn>
- - has to be the address to be translated. If you don't set
- the needed Parameters, you will be asked for them.
- </li>
- </ul>
- </dd>
-
-
- <dt>basedir</dt>
- <dd>Usage: basedir</dd>
- <dd>Switches back to the ReactOS source directory.</dd>
- </dl>
+<dl>
+ <dt>make</dt>
+ <dd>Usage: make [OPTIONS]<br>
+ </dd>
+ <dd> The command to build the ReactOS Source Tree in the Default
+directory.<br>
+Without options it does a standard build of ReactOS. OPTIONS are the
+standard ReactOS build options ie. </dd>
+ <dd>
+ <ul>
+ <li>bootcd</li>
+ <li>livecd</li>
+ <li>etc.</li>
+ </ul>
+ </dd>
+ <dt>makex</dt>
+ <dd>Usage: makex [OPTIONS]<br>
+ </dd>
+ <dd> Same as 'make' but automatically determines the number of CPU
+Cores in your system and uses "make -j x" with the appropriate number
+to threaden the build process for a massive speedup on Multi Core
+Systems.<br>
+NOTE: The number makex uses can be modified by editing Build-Multi.cmd
+located in the RosBE directory, instructions for doing so are contained
+within the file.</dd>
+ <dt>basedir</dt>
+ <dd>Usage: basedir</dd>
+ <dd>Switches back to the ReactOS source directory.</dd>
+ <dt>chdefdir</dt>
+ <dd>Usage: chdefdir [OPTIONS]</dd>
+ <dd> Reconfigures the Default Source Folder for one Session. This is
+useful for switching between branches or different ReactOS Source
+Trees. Exiting RosBE sets back to the Default. </dd>
+ <dd>
+ <ul>
+ <li> <dfn>default</dfn> - Sets back to the Default Source Folder
+without a restart of RosBE.</li>
+ </ul>
+ </dd>
+ <dt>clean</dt>
+ <dd>Usage: clean [logs]</dd>
+ <dd> Fully cleans the ReactOS source directory and does a better job
+than "make clean" does.<br>
+It deletes files, which are being generated into the Source Tree while
+compiling. After using this Command the tree is completely cleaned up
+and 1:1 like a fresh loaded one. </dd>
+ <dd>
+ <ul>
+ <li> <dfn>logs</dfn> - Removes all build logs in the RosBE-Logs
+directory. </li>
+ </ul>
+ </dd>
+ <dt>config</dt>
+ <dd>Usage: config [OPTIONS]</dd>
+ <dd> This Command creates a Configuration File, which tells RosBE how
+to build the Tree. There are many things you can modify in the build
+process and this tool can edit all for you. ISOs made with a non
+default are NOT usable to file bugs in any way! </dd>
+ <dd>
+ <ul>
+ <li> <dfn>delete</dfn> - Deletes the created configuration File
+and so sets back to default settings. </li>
+ </ul>
+ </dd>
+ <dt>help</dt>
+ <dd>Usage: help [COMMAND]</dd>
+ <dd> Shows help for the specified command or lists all available
+commands.</dd>
+ <dt>options</dt>
+ <dd>Usage: options</dd>
+ <dd> Starts the RosBE Configuration Program.<br>
+ </dd>
+ <dt>raddr2line</dt>
+ <dd>Usage: raddr2line [OPTIONS]</dd>
+ <dd> This Command translates program addresses of BSODs into file
+names and line numbers of the Code it was built of to assist Developers
+to find specific Bugs in ReactOS. This Tool is mainly a Dev Tool.
+Newbies normally only need it if a devs wants them to try out
+something. </dd>
+ <dd>
+ <ul>
+ <li> <dfn>first parameter</dfn> - has to be the Executable to be
+analyzed. </li>
+ <li> <dfn>second parameter</dfn> - has to be the address to be
+translated. If you don't set the needed Parameters, you will be asked
+for them. </li>
+ </ul>
+ </dd>
+ <dt>scut</dt>
+ <dd>Usage: scut [OPTIONS]</dd>
+ <dd>Defines, Edits, Removes, Switches and Defaults to Shortcutted
+Source Directories. scut started without a parameter or with the name
+of a Shortcut as parameter sets this Shortcut active. </dd>
+ <dd>
+ <ul>
+ <li> <dfn>add</dfn> - Adds a Shortcut to a sourcecode. </li>
+ <li> <dfn>rem</dfn> - Deletes a specific shortcut. </li>
+ <li> <dfn>edit</dfn> - Lets you edit a specific shortcut. </li>
+ <li> <dfn>def</dfn> - Chooses Default Shortcut which is enabled
+one every start of RosBE. "Default" is the Source Directory as you know
+it from previous Versions. </li>
+ </ul>
+ </dd>
+ <dt>ssvn</dt>
+ <dd>Usage: ssvn [OPTIONS]</dd>
+ <dd> This is the simple to use sSVN, written for newbies. It only
+Creates, Updates or cleans up your ReactOS Source Tree or shows the
+Revision Number of the Offline Tree and Online HEAD Revision to see if
+its up to date. No need for any additional parameters, just "ssvn
+update" and your Tree is fully updated. </dd>
+ <dd>
+ <ul>
+ <li> <dfn>update</dfn> - Updates to HEAD Revision or to a
+specific one when second parameter specifies one. </li>
+ <li> <dfn>create</dfn> - Creates a new ReactOS Source Tree and
+got some Security Features. It checks if the folder is empty, contains
+a Source Tree or any other files and Cancels if continuing is unsecure.
+ </li>
+ <li> <dfn>cleanup</dfn> - Cleans up and fixes errors in the
+Source Tree. It is mainly needed if the "ssvn update" or "ssvn create"
+command got aborted in any way or show problems like error messages
+etc. </li>
+ <li> <dfn>status</dfn> - Shows Actual offline Revision Number
+and online HEAD Revision Number to see if its up to date. </li>
+ </ul>
+ </dd>
+</dl>
</body>
</html>
Modified: trunk/tools/RosBE-Windows/Documentation/files/credits.html
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Documentation/…
==============================================================================
--- trunk/tools/RosBE-Windows/Documentation/files/credits.html (original)
+++ trunk/tools/RosBE-Windows/Documentation/files/credits.html Mon Oct 22 03:53:42 2007
@@ -17,7 +17,7 @@
<li>
Originally Coded by Peter "dralnix" Ward (
<a href="mailto:dralnix@gmail.com">dralnix(a)gmail.com</a>
- ) until Version 0.3.5B2
+ ) until Version 0.3.5B2 and continuing with Version 1.0
</li>
<li>
Work continued by Daniel "EmuandCo" Reimer (
Modified: trunk/tools/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/ChangeLog…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE-Windows/Root/ChangeLog.txt Mon Oct 22 03:53:42 2007
@@ -1,4 +1,4 @@
-*** XXX XXth, 200X - RosBE 0.X.X.X Released
+*** XXX XXth, 200X - RosBE 1.0 Released
- Updated RosBE Configuration Tool. (Pierre Schweitzer)
- Added French translation.
@@ -7,7 +7,7 @@
- Added support for WinXP style.
- Added the support of C99.
- Fixed warnings.
- - Small Modification by me: added -s and went from -O3 to -O2 in Makefile.
+ - Small Modification by Daniel Reimer: added -s and went from -O3 to -O2 in Makefile.
- Correct Button States and Whitespace changes.
- Save button is disabled until a parameter is changed
- Definitively fixed resources IDs
@@ -20,25 +20,30 @@
- Added checks to avoid buffers overflow.
- Added a very simple makefile for the RosBE tools. (Peter Ward)
+- Updated: GCC 4.1.3 Build 20071015 with recent patches
+ to get makex run under Vista. (Peter Ward, TODO: name of tamlin)
+- Updated: Binutils 2.18.50 Build 20071015.
- Fix a warning in echoh.c. (Peter Ward)
- Fix options.exe compile with RosBE 0.3.8.1 (Peter Ward)
- Merge the three build.cmd files into one. (Peter Ward)
- Heaviliy cleaning up the .cmd files. (Peter Ward)
-- remove typos. (Peter Ward)
+- Remove typos. (Peter Ward)
- Make variable names more consistent. (Peter Ward)
- Merged the NSIS files back together. (Peter Ward)
- Renamed options.cmd -> rosbe-options.cmd. (Peter Ward)
- Completely rewrote scut to work without *nix tools
and added a edit function (Parter Ward, Daniel Reimer)
- Updated to NASM 0.99.05 (Daniel Reimer)
+- Downgraded sed to prevent a EOL style destruction. (Daniel Reimer)
- Make helpfile entries dependant on the installed optional files. (Daniel Reimer)
- Readd chdefdir due to popular Demand. (Daniel Reimer)
- Make options.exe startable from cmd window. After exiting rosbe resets to use the new settings. (Daniel Reimer)
- Added ccache 2.4 to RosBE. (Daniel Reimer)
- Remove trailing Spaces. (Daniel Reimer)
-- Modify options.exe to enable and disable strpping and ccache. (Daniel Reimer)
+- Modify options.exe to enable and disable stripping and ccache. This gives back the possibility to give more
+ than one command to make (Daniel Reimer)
- Fixed German RC File of Options.exe (Daniel Reimer)
-
+- Added the command "oldmode" to still use the HOST headers, not the target ones in SVN Tree. (Daniel Reimer)
- Fixed Russian RC File of options.exe (towerr)
*** Sep 24th, 2007 - RosBE 0.3.8.1 Released
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Mon Oct 22 03:53:42 2007
@@ -30,14 +30,14 @@
echo basedir - Switch back to the ReactOS source directory.
echo.
- if exist "%_ROSBE_BASEDIR%\scut.cmd" (
- echo scut - Define, Edit, Remove, Switch and Default to
- echo Shortcutted Source-Directories.
- )
-
if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" (
echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one
echo Session.
+ )
+
+ if exist "%_ROSBE_BASEDIR%\clean.cmd" (
+ echo clean [logs] - Fully clean the ReactOS source directory and/or
+ echo the RosBE build logs.
)
if exist "%_ROSBE_BASEDIR%\config.cmd" (
@@ -45,23 +45,23 @@
echo.
)
- if exist "%_ROSBE_BASEDIR%\clean.cmd" (
- echo clean [logs] - Fully clean the ReactOS source directory and/or
- echo the RosBE build logs.
- )
-
echo help [COMMAND] - Display the available commands or help on a
echo specific command.
if exist "%_ROSBE_BASEDIR%\options.cmd" (
- echo options - Starts options.exe and reboots to make the
- echo changes effective at the end.
+ echo options - Starts options.exe and restarts RosBE to make
+ echo the changes effective at the end.
)
if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
echo raddr2line [OPTIONS] - Translates program addresses into file names and
echo line numbers to assist Developers to find
echo specific Bugs in ReactOS.
+ )
+
+ if exist "%_ROSBE_BASEDIR%\scut.cmd" (
+ echo scut [OPTIONS] - Define, Edit, Remove, Switch and Default to
+ echo Shortcutted Source-Directories.
)
if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
@@ -149,7 +149,7 @@
)
if "%1" == "options" (
echo Usage: options
- echo Starts RosBE Configurator and reboots RosBE afterwards to make the
+ echo Starts RosBE Configurator and restarts RosBE afterwards to make the
echo changes effective at the end.
goto :EOF
)
Modified: trunk/tools/RosBE-Windows/Root/scut.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/scut.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/scut.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/scut.cmd Mon Oct 22 03:53:42 2007
@@ -90,11 +90,13 @@
:ADD23
for /f "usebackq tokens=1-2 delims=, skip=1" %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %CUT% (
- echo ERROR: A Shortcut with the name %CUT% does already exist.
+ echo A Shortcut with the name %CUT% does already exist. Editing the existing one.
+ call "%_ROSBE_BASEDIR%\scut.cmd" edit %CUT% %DIR%
goto :END
)
)
echo %CUT%,%DIR%>> "%_ROSBE_BASEDIR%\srclist.txt"
+echo Shortcut %CUT% successfully added.
goto :END
::
@@ -120,6 +122,8 @@
ren "%_ROSBE_BASEDIR%\srclist2.txt" srclist.txt
if %_ROSBE_REM% == 0 (
echo ERROR: The Shortcut %CUTREM% does not exist.
+) else (
+ echo Shortcut %CUTREM% successfully deleted.
)
goto :END
@@ -182,6 +186,8 @@
ren "%_ROSBE_BASEDIR%\temporaryfile.tmp" srclist.txt
if %_ROSBE_EDIT% == 0 (
echo ERROR: The Shortcut %CUT% does not exist.
+) else (
+ echo Shortcut %CUT% successfully edited.
)
:END