bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 1 | @REM
|
| 2 | @REM Copyright (c) 2006, Intel Corporation
|
| 3 | @REM All rights reserved. This program and the accompanying materials
|
| 4 | @REM are licensed and made available under the terms and conditions of the BSD License
|
| 5 | @REM which accompanies this distribution. The full text of the license may be found at
|
| 6 | @REM http://opensource.org/licenses/bsd-license.php
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 7 | @REM
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 8 | @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 9 | @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 10 | @REM
|
| 11 |
|
| 12 | @REM set following environment in this file or in command shell
|
lhauch | 9dac0c3 | 2006-10-10 23:03:33 +0000 | [diff] [blame] | 13 | @REM set JAVA_HOME=C:\Java\jdk1.5.0_06
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 14 | @REM set ANT_HOME=C:\ANT
|
| 15 | @REM set XMLBEANS_HOME=C:\xmlbeans
|
| 16 | @REM set CYGWIN_HOME=C:\cygwin
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 17 |
|
wuyizhong | 2fcfed3 | 2006-10-17 07:07:24 +0000 | [diff] [blame^] | 18 | @REM usage: edksetup.bat [Rebuild] [ForceRebuild] [Reconfig]
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 19 | @REM if the argument, skip is present, only the paths and the
|
| 20 | @REM test and set of environment settings are performed.
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 21 |
|
| 22 | @REM ##############################################################
|
| 23 | @REM # You should not have to modify anything below this line
|
| 24 | @REM #
|
| 25 |
|
| 26 | @echo off
|
| 27 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 28 | @REM
|
| 29 | @REM Check the required system environment variables
|
| 30 | @REM
|
| 31 |
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 32 | :check_vc
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 33 | if defined VCINSTALLDIR goto check_cygwin
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 34 | if defined VS71COMNTOOLS (
|
wuyizhong | b0108f0 | 2006-07-19 06:10:12 +0000 | [diff] [blame] | 35 | call "%VS71COMNTOOLS%\vsvars32.bat"
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 36 | ) else (
|
| 37 | echo.
|
| 38 | echo !!! WARNING !!!! Cannot find Visual Studio !!!
|
| 39 | echo.
|
| 40 | )
|
| 41 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 42 | :check_cygwin
|
| 43 | if defined CYGWIN_HOME goto check_java
|
| 44 | if exist c:\cygwin (
|
| 45 | set CYGWIN_HOME=c:\cygwin
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 46 | ) else (
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 47 | echo.
|
| 48 | echo !!! WARNING !!!! Not set CYGWIN_HOME, gcc build may not be used !!!
|
| 49 | echo.
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 50 | )
|
| 51 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 52 | :check_java
|
| 53 | if "%JAVA_HOME%"=="" goto no_jdk
|
| 54 |
|
| 55 | :check_ant
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 56 | if "%ANT_HOME%"=="" goto no_ant
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 57 | if not exist %ANT_HOME%\lib\ant-contrib.jar goto no_antcontrib
|
| 58 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 59 | :check_xmlbeans
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 60 | if "%XMLBEANS_HOME%"=="" goto no_xmlbeans
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 61 | if not exist %XMLBEANS_HOME%\lib\saxon8.jar goto no_saxon8
|
| 62 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 63 | @REM
|
| 64 | @REM Set the WORKSPACE to the current working directory
|
| 65 | @REM
|
| 66 | set WORKSPACE=%CD%
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 67 |
|
qouyang | 2da8968 | 2006-06-08 09:11:56 +0000 | [diff] [blame] | 68 | set FRAMEWORK_TOOLS_PATH=%WORKSPACE%\Tools\bin
|
lhauch | 6de5f95 | 2006-06-09 18:07:09 +0000 | [diff] [blame] | 69 |
|
jwang36 | 7b8617f | 2006-10-17 06:38:16 +0000 | [diff] [blame] | 70 | if not defined ORIGINAL_CLASSPATH set ORIGINAL_CLASSPATH= %CLASSPATH%
|
jwang36 | eb614e7 | 2006-10-17 06:24:21 +0000 | [diff] [blame] | 71 | set CLASSPATH=%ORIGINAL_CLASSPATH%
|
| 72 |
|
lhauch | 6de5f95 | 2006-06-09 18:07:09 +0000 | [diff] [blame] | 73 | if defined WORKSPACE_TOOLS_PATH goto check_path
|
| 74 | set PATH=%FRAMEWORK_TOOLS_PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;%XMLBEANS_HOME%\bin;%PATH%
|
| 75 | set WORKSPACE_TOOLS_PATH=%FRAMEWORK_TOOLS_PATH%
|
lhauch | 11f009f | 2006-07-24 16:03:47 +0000 | [diff] [blame] | 76 | echo Setting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE
|
lhauch | 6de5f95 | 2006-06-09 18:07:09 +0000 | [diff] [blame] | 77 | goto path_ok
|
| 78 |
|
| 79 | :check_path
|
| 80 | if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto path_ok
|
| 81 | set PATH=%FRAMEWORK_TOOLS_PATH%;%PATH%
|
lhauch | 1368123 | 2006-08-08 19:48:49 +0000 | [diff] [blame] | 82 | set WORKSPACE_TOOLS_PATH=%WORKSPACE%\Tools\bin
|
lhauch | 11f009f | 2006-07-24 16:03:47 +0000 | [diff] [blame] | 83 | echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WORKSPACE
|
lhauch | 6de5f95 | 2006-06-09 18:07:09 +0000 | [diff] [blame] | 84 |
|
| 85 | :path_ok
|
| 86 |
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 87 | @if "%1"=="-h" goto Usage
|
| 88 | @if "%1"=="-help" goto Usage
|
| 89 | @if "%1"=="--help" goto Usage
|
| 90 | @if "%1"=="/h" goto Usage
|
| 91 | @if "%1"=="/?" goto Usage
|
| 92 | @if "%1"=="/help" goto Usage
|
wuyizhong | 2fcfed3 | 2006-10-17 07:07:24 +0000 | [diff] [blame^] | 93 | @if "%1"=="ForceRebuild" goto ForceBuild
|
| 94 | @if "%1"=="Reconfig" goto Reconfig
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 95 |
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 96 | @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild
|
klu2 | fb10251 | 2006-07-31 19:06:25 +0000 | [diff] [blame] | 97 | @IF NOT EXIST "Tools\Jars\PcdTools.jar" goto NormalBuild
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 98 | @IF NOT EXIST "Tools\Jars\GenBuild.jar" goto NormalBuild
|
| 99 | @IF NOT EXIST "Tools\Jars\SurfaceArea.jar" goto NormalBuild
|
| 100 | @IF NOT EXIST "Tools\Jars\cpptasks.jar" goto NormalBuild
|
| 101 | @IF NOT EXIST "Tools\Jars\frameworktasks.jar" goto NormalBuild
|
| 102 | @IF NOT EXIST "Tools\bin\FrameworkWizard.jar" goto NormalBuild
|
| 103 | @IF NOT EXIST "Tools\bin\CompressDll.dll" goto NormalBuild
|
| 104 | @IF NOT EXIST "Tools\bin\CompressDll.lib" goto NormalBuild
|
| 105 | @IF NOT EXIST "Tools\bin\CreateMtFile.exe" goto NormalBuild
|
| 106 | @IF NOT EXIST "Tools\bin\EfiCompress.exe" goto NormalBuild
|
| 107 | @IF NOT EXIST "Tools\bin\EfiRom.exe" goto NormalBuild
|
| 108 | @IF NOT EXIST "Tools\bin\FlashMap.exe" goto NormalBuild
|
| 109 | @IF NOT EXIST "Tools\bin\FwImage.exe" goto NormalBuild
|
| 110 | @IF NOT EXIST "Tools\bin\GenAcpiTable.exe" goto NormalBuild
|
| 111 | @IF NOT EXIST "Tools\bin\GenCRC32Section.exe" goto NormalBuild
|
| 112 | @IF NOT EXIST "Tools\bin\GenCapsuleHdr.exe" goto NormalBuild
|
| 113 | @IF NOT EXIST "Tools\bin\GenDepex.exe" goto NormalBuild
|
| 114 | @IF NOT EXIST "Tools\bin\GenFfsFile.exe" goto NormalBuild
|
| 115 | @IF NOT EXIST "Tools\bin\GenFvImage.exe" goto NormalBuild
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 116 | @IF NOT EXIST "Tools\bin\GenSection.exe" goto NormalBuild
|
| 117 | @IF NOT EXIST "Tools\bin\GenTEImage.exe" goto NormalBuild
|
| 118 | @IF NOT EXIST "Tools\bin\GuidChk.exe" goto NormalBuild
|
| 119 | @IF NOT EXIST "Tools\bin\MakeDeps.exe" goto NormalBuild
|
| 120 | @IF NOT EXIST "Tools\bin\ModifyInf.exe" goto NormalBuild
|
| 121 | @IF NOT EXIST "Tools\bin\PeiRebase_Ia32.exe" goto NormalBuild
|
| 122 | @IF NOT EXIST "Tools\bin\PeiRebase_Ipf.exe" goto NormalBuild
|
| 123 | @IF NOT EXIST "Tools\bin\PeiRebase_X64.exe" goto NormalBuild
|
| 124 | @IF NOT EXIST "Tools\bin\SecApResetVectorFixup.exe" goto NormalBuild
|
| 125 | @IF NOT EXIST "Tools\bin\SecFixup.exe" goto NormalBuild
|
| 126 | @IF NOT EXIST "Tools\bin\SetStamp.exe" goto NormalBuild
|
| 127 | @IF NOT EXIST "Tools\bin\SplitFile.exe" goto NormalBuild
|
| 128 | @IF NOT EXIST "Tools\bin\StrGather.exe" goto NormalBuild
|
| 129 | @IF NOT EXIST "Tools\bin\Strip.exe" goto NormalBuild
|
| 130 | @IF NOT EXIST "Tools\bin\VfrCompile.exe" goto NormalBuild
|
| 131 | @IF NOT EXIST "Tools\bin\ZeroDebugData.exe" goto NormalBuild
|
| 132 | @IF NOT EXIST "Tools\bin\antlr.exe" goto NormalBuild
|
| 133 | @IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 134 |
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 135 | @if "%1"=="Rebuild" goto NormalBuild
|
lhauch | 11f009f | 2006-07-24 16:03:47 +0000 | [diff] [blame] | 136 | @if NOT "%1"=="" goto Usage
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 137 |
|
| 138 | goto skipbuild
|
| 139 |
|
qouyang | 3a9b722 | 2006-08-28 13:06:24 +0000 | [diff] [blame] | 140 | :ForceBuild
|
jwang36 | eb614e7 | 2006-10-17 06:24:21 +0000 | [diff] [blame] | 141 | call ant -f %WORKSPACE%\Tools\build.xml -noclasspath cleanall
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 142 |
|
| 143 | :NormalBuild
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 144 | @REM
|
| 145 | @REM Start to build the Framework Tools
|
| 146 | @REM
|
| 147 |
|
| 148 | echo.
|
| 149 | echo Building the Framework Tools
|
| 150 | echo.
|
| 151 |
|
| 152 | @REM
|
| 153 | @REM We are going to create the SurfaceArea.jar file first so that the other
|
| 154 | @REM Java Programs can use it.
|
| 155 | @REM It needs the XMLBEANS libraries in order to compile.
|
| 156 | @REM
|
jwang36 | eb614e7 | 2006-10-17 06:24:21 +0000 | [diff] [blame] | 157 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 158 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar
|
| 159 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean.jar
|
| 160 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar
|
| 161 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xmlpublic.jar
|
| 162 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar
|
| 163 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\resolver.jar
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 164 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 165 | call ant -f %WORKSPACE%\Tools\build.xml SurfaceArea
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 166 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 167 | @REM
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 168 | @REM Now we can make the other Java Programs
|
lhauch | 53cef58 | 2006-04-28 19:32:18 +0000 | [diff] [blame] | 169 | @REM All of the remaining Java Programs require the SurfaceArea library to compile
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 170 | @REM
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 171 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\SurfaceArea.jar
|
qouyang | b9546cc | 2006-06-20 11:57:17 +0000 | [diff] [blame] | 172 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 173 | call ant -f %WORKSPACE%\Tools\build.xml JavaCode
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 174 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 175 | @REM
|
| 176 | @REM We have all of the Java Programs and add-in classes created, so we can start
|
| 177 | @REM using the cpp-tasks to create our tools
|
| 178 | @REM
|
qouyang | b9546cc | 2006-06-20 11:57:17 +0000 | [diff] [blame] | 179 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar
|
klu2 | d14ebb4 | 2006-07-31 18:55:26 +0000 | [diff] [blame] | 180 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\PcdTools.jar
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 181 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
|
lhauch | 08e4a41 | 2006-07-08 13:59:19 +0000 | [diff] [blame] | 182 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar
|
| 183 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar
|
hche10x | da1508d | 2006-07-13 01:16:51 +0000 | [diff] [blame] | 184 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar
|
alfred | 3ecfb29 | 2006-08-10 09:33:40 +0000 | [diff] [blame] | 185 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\MigrationTools.jar
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 186 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 187 | call ant -f %WORKSPACE%\Tools\build.xml C_Code
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 188 |
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 189 | @REM
|
| 190 | @REM Done!!!
|
| 191 | @REM
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 192 | goto end
|
| 193 |
|
| 194 | :no_jdk
|
| 195 | echo.
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 196 | echo !!! Please install Java, and set JAVA_HOME !!!
|
| 197 | echo.
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 198 | goto end
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 199 |
|
| 200 | :no_ant
|
| 201 | echo.
|
| 202 | echo !!! Please install Apache Ant, and set ANT_HOME !!!
|
| 203 | echo.
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 204 | goto end
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 205 |
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 206 | :no_antcontrib
|
| 207 | echo.
|
| 208 | echo !!! Please install Ant-contrib to ANT_HOME !!!
|
| 209 | echo.
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 210 | goto end
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 211 |
|
bbahnsen | 0299684 | 2006-04-21 23:36:37 +0000 | [diff] [blame] | 212 | :no_xmlbeans
|
| 213 | echo.
|
| 214 | echo !!! Please install XML Beans, and set XMLBEANS_HOME !!!
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 215 | echo.
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 216 | goto end
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 217 |
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 218 | :no_saxon8
|
| 219 | echo.
|
| 220 | echo !!! Please copy saxon8.jar file to XMLBEANS_HOME\lib !!!
|
| 221 | echo.
|
yshi8 | a29212b | 2006-05-09 06:11:05 +0000 | [diff] [blame] | 222 | goto end
|
lhauch | 42b67fc | 2006-04-25 19:59:29 +0000 | [diff] [blame] | 223 |
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 224 | :skipbuild
|
| 225 | @REM
|
| 226 | @REM This just sets up the CLASSPATH, the rest of the environment should have been set already.
|
| 227 | @REM
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 228 | echo.
|
lhauch | 6de5f95 | 2006-06-09 18:07:09 +0000 | [diff] [blame] | 229 | echo WORKSPACE: %WORKSPACE%
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 230 | echo JAVA_HOME: %JAVA_HOME%
|
| 231 | echo ANT_HOME: %ANT_HOME%
|
| 232 | echo XMLBEANS_HOME: %XMLBEANS_HOME%
|
| 233 | echo CYGWIN_HOME: %CYGWIN_HOME%
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 234 | echo PATH: %PATH%
|
| 235 | echo.
|
jwang36 | eb614e7 | 2006-10-17 06:24:21 +0000 | [diff] [blame] | 236 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 237 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar
|
| 238 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean.jar
|
| 239 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar
|
| 240 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xmlpublic.jar
|
| 241 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar
|
| 242 | set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\resolver.jar
|
lhauch | 08e4a41 | 2006-07-08 13:59:19 +0000 | [diff] [blame] | 243 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\SurfaceArea.jar
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 244 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar
|
klu2 | d14ebb4 | 2006-07-31 18:55:26 +0000 | [diff] [blame] | 245 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\PcdTools.jar
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 246 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
|
| 247 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar
|
| 248 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar
|
| 249 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar
|
alfred | 1915103 | 2006-08-14 05:03:11 +0000 | [diff] [blame] | 250 | set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\MigrationTools.jar
|
lhauch | 11f009f | 2006-07-24 16:03:47 +0000 | [diff] [blame] | 251 | echo CLASSPATH: %CLASSPATH%
|
lhauch | 302e0e4 | 2006-06-09 15:26:28 +0000 | [diff] [blame] | 252 | goto end
|
| 253 |
|
wuyizhong | 2fcfed3 | 2006-10-17 07:07:24 +0000 | [diff] [blame^] | 254 | :Reconfig
|
| 255 | @REM
|
| 256 | @REM Reinstall all config files
|
| 257 | @REM
|
| 258 | call ant -f %WORKSPACE%\Tools\build.xml reconfig
|
| 259 | goto end
|
| 260 |
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 261 | :Usage
|
| 262 | echo.
|
wuyizhong | 2fcfed3 | 2006-10-17 07:07:24 +0000 | [diff] [blame^] | 263 | echo Usage: %0 [Rebuild] [ForceRebuild] [Reconfig]
|
| 264 | echo Rebuild: Incremental build, only build those updated tools;
|
| 265 | echo ForceRebuild: Rebuild all tools neither updated or not;
|
| 266 | echo Reconfig: Reinstall target.txt, tools_def.txt, FrameworkDatabase.db.
|
| 267 | echo.
|
| 268 | echo Note that target.template, tools_def.template, FrameworkDatabase.template will be
|
| 269 | echo only copied to target.txt, tools_def.txt, FrameworkDatabase.db respectively if they
|
| 270 | echo are not existed. Using option [Reconfig] to do the force copy.
|
lhauch | 70edbc3 | 2006-07-14 06:46:15 +0000 | [diff] [blame] | 271 | echo.
|
| 272 |
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 273 | :end
|
| 274 | @echo on
|
| 275 |
|