summaryrefslogtreecommitdiffstats
path: root/edksetup.bat
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 16:03:47 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-24 16:03:47 +0000
commit11f009f190e49bcfd888cc0b4c808e0037204c16 (patch)
treee10558df03a042e0d58d79c2ee417bfff00cc9b6 /edksetup.bat
parent161c26a7aaff23ba632527cbfb79845a20b9fab0 (diff)
downloadedk2-11f009f190e49bcfd888cc0b4c808e0037204c16.tar.gz
edk2-11f009f190e49bcfd888cc0b4c808e0037204c16.tar.bz2
edk2-11f009f190e49bcfd888cc0b4c808e0037204c16.zip
Added test to ensure that the only options that can be used are the help optiops, Rebuild and ForceRebuild. Added printout of the CLASSPATH variable. Fixed case in two comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1087 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edksetup.bat')
-rw-r--r--edksetup.bat8
1 files changed, 5 insertions, 3 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 3a72031dbd..4a5abcc586 100644
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -15,7 +15,7 @@
@REM set XMLBEANS_HOME=C:\xmlbeans
@REM set CYGWIN_HOME=C:\cygwin
-@REM usage: edksetup.bat [skip]
+@REM usage: edksetup.bat [Rebuild] [ForceRebuild]
@REM if the argument, skip is present, only the paths and the
@REM test and set of environment settings are performed.
@@ -70,14 +70,14 @@ set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin
if defined WORKSPACE_TOOLS_PATH goto check_path
set PATH=%FRAMEWORK_TOOLS_PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%XMLBEANS_HOME%\bin;%PATH%
set WORKSPACE_TOOLS_PATH=%FRAMEWORK_TOOLS_PATH%
-echo Setting the PATH variable to include the Framework_Tools_Path for this WORKSPACE
+echo Setting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE
goto path_ok
:check_path
if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto path_ok
set PATH=%FRAMEWORK_TOOLS_PATH%;%PATH%
set WORKSPACE_PATH=%WORKSPACE%
-echo Resetting the PATH variable to include the Framework_Tools_Path for this WORKSPACE
+echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE
:path_ok
@@ -128,6 +128,7 @@ echo Resetting the PATH variable to include the Framework_Tools_Path for this WO
@if "%1"=="Rebuild" goto NormalBuild
@if "%1"=="ForceRebuild" goto ForceBuild
+@if NOT "%1"=="" goto Usage
goto skipbuild
@@ -238,6 +239,7 @@ set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar
+echo CLASSPATH: %CLASSPATH%
goto end
:Usage