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
) else (goto all
)
22 @
echo Beautify XML file
format
24 @
echo Usage
: SAPretty.bat
"XML_FILE"
29 @ant
-q
-f
%WORKSPACE%\Tools\Source\SurfaceArea
\build.xml pretty
-DSURFACE_AREA_FILE
=%~f1
34 @
echo !!! Please
set JAVA_HOME
!!!
40 @
echo !!! Please
set WORKSPACE
!!!