+ echo.\r
+ echo !!! Please install XML Beans, and set XMLBEANS_HOME !!!\r
+ echo.\r
+ goto end\r
+\r
+:no_saxon8\r
+ echo.\r
+ echo !!! Please copy saxon8.jar file to XMLBEANS_HOME\lib !!!\r
+ echo.\r
+ goto end\r
+\r
+:skipbuild\r
+ @REM\r
+ @REM This just sets up the CLASSPATH, the rest of the environment should have been set already.\r
+ @REM\r
+ echo.\r
+ echo WORKSPACE: %WORKSPACE%\r
+ echo JAVA_HOME: %JAVA_HOME%\r
+ echo ANT_HOME: %ANT_HOME%\r
+ echo XMLBEANS_HOME: %XMLBEANS_HOME%\r
+ echo CYGWIN_HOME: %CYGWIN_HOME%\r
+ echo PATH: %PATH%\r
+ echo.\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\xbean.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\xbean_xpath.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\xmlpublic.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\saxon8.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\saxon8-dom.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\saxon8-xpath.jar;%CLASSPATH%\r
+ set CLASSPATH=%XMLBEANS_HOME%\lib\resolver.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\SurfaceArea.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\Common.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\PcdTools.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\GenBuild.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\cpptasks.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Jars\frameworktasks.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Bin\FrameworkWizard.jar;%CLASSPATH%\r
+ set CLASSPATH=%WORKSPACE%\Tools\Bin\MigrationTools.jar;%CLASSPATH%\r
+ echo CLASSPATH: %CLASSPATH%\r
+ goto end\r
+\r
+:Reconfig\r
+ @REM\r
+ @REM Reinstall all config files\r
+ @REM\r
+ call ant -f %WORKSPACE%\Tools\build.xml reconfig\r
+ goto end\r
+\r
+:Usage\r
+ echo.\r
+ echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [--nt32] [AntBuild | Rebuild | ForceRebuild ] [Reconfig]"\r
+ echo --nt32 Call vsvars32.bat for NT32 platform build.\r
+ echo.\r
+ echo Rebuild If sources are available perform an Incremental build, only \r
+ echo build those updated tools.\r
+ echo ForceRebuild If sources are available, rebuild all tools regardless of \r
+ echo whether they have been updated or not.\r
+ echo Reconfig Reinstall target.txt, tools_def.txt and build_rule.txt.\r
+ echo.\r
+ echo JAVA/ANT Build\r
+ echo AntBuild Using older Java/ANT build tools in Tools directory.\r
+ echo Rebuild Incremental build, only build those updated tools.\r
+ echo ForceRebuild Rebuild all tools regardless of whether they have been updated or not.\r
+ echo Reconfig Reinstall target.txt, tools_def.txt and FrameworkDatabase.db.\r
+ echo.\r
+ echo Note that target.template, tools_def.template, build_rules.template and the \r
+ echo FrameworkDatabase.template will be only copied to target.txt, tools_def.txt, build_rule.txt and\r
+ echo FrameworkDatabase.db respectively if they do not exist. Using option [Reconfig] to force the copy. \r
+ echo.\r
+ @goto end\r