]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
Added code to fail the SAVerify command when validation failed
[mirror_edk2.git] / edksetup.bat
index 35e765ee10dd802c94dbf1cbcc28b7bc13ee1b5f..4a5abcc5869941a221fef24f1f244df4eb52db08 100644 (file)
@@ -15,7 +15,7 @@
 @REM set XMLBEANS_HOME=C:\xmlbeans\r
 @REM set CYGWIN_HOME=C:\cygwin\r
 \r
-@REM usage: edksetup.bat [skip]\r
+@REM usage: edksetup.bat [Rebuild] [ForceRebuild]\r
 @REM if the argument, skip is present, only the paths and the\r
 @REM test and set of environment settings are performed. \r
 \r
@@ -32,7 +32,7 @@
 :check_vc\r
 if defined VCINSTALLDIR goto check_cygwin\r
 if defined VS71COMNTOOLS (\r
-  call "%VS71COMNTOOLS%vsvars32.bat"\r
+  call "%VS71COMNTOOLS%\vsvars32.bat"\r
 ) else (\r
   echo.\r
   echo !!! WARNING !!!! Cannot find Visual Studio !!!\r
@@ -70,14 +70,14 @@ set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin
 if defined WORKSPACE_TOOLS_PATH goto check_path\r
 set PATH=%FRAMEWORK_TOOLS_PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%XMLBEANS_HOME%\bin;%PATH%\r
 set WORKSPACE_TOOLS_PATH=%FRAMEWORK_TOOLS_PATH%\r
-echo Setting the PATH variable to include the Framework_Tools_Path for this WORKSPACE\r
+echo Setting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE\r
 goto path_ok\r
 \r
 :check_path\r
 if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto path_ok\r
 set PATH=%FRAMEWORK_TOOLS_PATH%;%PATH%\r
 set WORKSPACE_PATH=%WORKSPACE%\r
-echo Resetting the PATH variable to include the Framework_Tools_Path for this WORKSPACE\r
+echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE\r
 \r
 :path_ok\r
 \r
@@ -128,6 +128,7 @@ echo Resetting the PATH variable to include the Framework_Tools_Path for this WO
 \r
 @if "%1"=="Rebuild" goto NormalBuild\r
 @if "%1"=="ForceRebuild" goto ForceBuild\r
+@if NOT "%1"=="" goto Usage\r
 \r
 goto skipbuild\r
 \r
@@ -238,6 +239,7 @@ set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar\r
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar\r
 set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar\r
+echo CLASSPATH:     %CLASSPATH%\r
 goto end\r
 \r
 :Usage\r