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
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.
12 @
if "%JAVA_HOME%"=="" goto no_jdk
13 @
if "%WORKSPACE%"=="" goto no_wks
15 @
if "%1"=="" (goto usage
)
16 @
if "%1"=="-h" (goto usage
)
17 @
if "%1"=="-H" (goto usage
)
18 @
if "%1"=="all" (goto all
)
19 @
if "%1"=="ALL" (goto all
) else (goto standalone
)
24 @
echo Verify SurfaceArea file
(s
)
27 @
echo SAVerify.bat
"MSA_FILE" - Verify SurfaceArea file named by MSA_FILE
28 @
echo SAVerify.bat all
- Verify all SurfaceArea
files under current directory and its sub
-directories
29 @
echo SAVerify.bat
-h
- Print usage message
35 @
for /R
%%a in
(*.msa
*.fpd
*.spd
) do @ant
-q
-f
%WORKSPACE%\Tools\Java\Source\SurfaceArea
\build.xml validate
-DSURFACE_AREA_FILE
=%%a
40 @ant
-q
-f
%WORKSPACE%\Tools\Java\Source\SurfaceArea
\build.xml validate
-DSURFACE_AREA_FILE
=%~f1
45 @
echo !!! Please
set JAVA_HOME
!!!
51 @
echo !!! Please
set WORKSPACE
!!!