Author: dreimer
Date: Thu Oct 25 23:24:14 2007
New Revision: 29881
URL: http://svn.reactos.org/svn/reactos?rev=29881&view=rev
Log:
Fix one evil Bug by me.
Modify ERROR messages to abort the process when Name and Path are specified by Shell Commands, too.
Modified:
trunk/tools/RosBE-Windows/Root/scut.cmd
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 Thu Oct 25 23:24:14 2007
@@ -52,16 +52,13 @@
:: Load Shortcut from txt and set it active.
::
:DEF
-set /p XY="Choose your Source Folder: "
-if not exist "%XY%\." (
- echo ERROR: The path specified doesn't seem to exist.
- goto :END
-)
+set /p XY="Choose your Shortcut: "
+
+:RUN
if /i "%XY%" == "" (
- echo ERROR: You must enter a valid directory.
- goto :END
-)
-:RUN
+ echo ERROR: You must enter a valid Shortcut.
+ goto :END
+)
for /f "usebackq tokens=1-2 delims=, skip=1" %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %XY% (
cd /d %%j
@@ -94,8 +91,11 @@
echo ERROR: You must enter a valid Shortcut.
goto :END
)
+
:ADD2
set /p DIR="Choose your Source Folder: "
+
+:ADD23
if not exist "%DIR%\." (
echo ERROR: The path specified doesn't seem to exist.
goto :END
@@ -104,7 +104,6 @@
echo ERROR: You must enter a valid directory.
goto :END
)
-:ADD23
for /f "usebackq tokens=1-2 delims=, skip=1" %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %CUT% (
echo A Shortcut with the name %CUT% does already exist. Editing the existing one.
@@ -129,6 +128,7 @@
echo ERROR: You must enter a valid Shortcut.
goto :END
)
+
:REM1
set _ROSBE_REM=0
for /f "usebackq tokens=1-2 delims=," %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
@@ -161,6 +161,7 @@
echo ERROR: You must enter a valid Shortcut.
goto :END
)
+
:DEF1
call "%_ROSBE_BASEDIR%\scut.cmd" edit Base %DIR%
@@ -187,8 +188,11 @@
echo ERROR: You must enter a valid Shortcut.
goto :END
)
+
:EDIT2
set /p DIR="Choose your Source Folder: "
+
+:EDIT23
if not exist "%DIR%\." (
echo ERROR: The path specified doesn't seem to exist.
goto :END
@@ -197,7 +201,6 @@
echo ERROR: You must enter a valid directory.
goto :END
)
-:EDIT23
set _ROSBE_EDIT=0
for /f "usebackq tokens=1-2 delims=," %%i in (`type "%_ROSBE_BASEDIR%\srclist.txt"`) do (
if %%i == %CUT% (
Author: dreimer
Date: Thu Oct 25 18:04:46 2007
New Revision: 29877
URL: http://svn.reactos.org/svn/reactos?rev=29877&view=rev
Log:
Fix typos in readme.pdf
Fix a bug in Build.cmd
Modified:
trunk/tools/RosBE-Windows/Root/Build.cmd
trunk/tools/RosBE-Windows/Root/readme.pdf
Modified: trunk/tools/RosBE-Windows/Root/Build.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Build.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Build.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Build.cmd Thu Oct 25 18:04:46 2007
@@ -16,7 +16,7 @@
:: Check if config.template.rbuild is newer than config.rbuild, if it is then
:: abort the build and inform the user.
::
-if exist "config.rbuild" (
+if exist "%_ROSBE_BASEDIR%\config.rbuild" (
chknewer "config.template.rbuild" "%_ROSBE_BASEDIR%\config.rbuild"
if not errorlevel 1 (
echo.
Modified: trunk/tools/RosBE-Windows/Root/readme.pdf
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/readme.pd…
==============================================================================
Binary files - no diff available.
Author: peterw
Date: Thu Oct 25 15:06:14 2007
New Revision: 29874
URL: http://svn.reactos.org/svn/reactos?rev=29874&view=rev
Log:
- Update the help for raddr2line.
Modified:
trunk/tools/RosBE-Windows/Root/Help.cmd
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 Thu Oct 25 15:06:14 2007
@@ -41,8 +41,8 @@
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 line numbers to assist developers with finding
+ echo specific bugs in ReactOS.
)
if exist "%_ROSBE_BASEDIR%\scut.cmd" (
@@ -124,14 +124,18 @@
)
if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
if "%1" == "raddr2line" (
- echo Usage: raddr2line [OPTIONS]
+ echo Usage: raddr2line [FILE] [ADDRESS]
echo Translates program addresses into file names and line numbers to
- echo assist Developers to find specific Bugs in ReactOS.
+ echo assist developers with finding specific bugs in ReactOS. If
+ echo either of the options is not given you will be prompted for it.
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 FILE - This can be either a fully specified path or just the
+ echo file name [you can use partial name ie. ntdll*] of
+ echo the executable to be analyzed. When using just a file
+ echo the current directory and all sub-directories are
+ echo searched.
+ echo ADDRESS - The address to be translated.
echo.
- echo If you don't set the needed Parameters, you will be asked for them.
goto :EOC
)
)