blob: cc38bd0e4c1c37e4e411004ffbc4a23a0df96b4e [file] [log] [blame]
@echo off
REM --------------------------------------------
REM No need to edit anything past here
REM --------------------------------------------
set _BUILDFILE=%BUILDFILE%
set BUILDFILE=build.xml
:final
set _CLASSPATH=%CLASSPATH%
if "%JAVA_HOME%" == "" goto javahomeerror
if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;.\lib\ant-1.3.jar;.\lib\ant-1.3-optional.jar
set CLASSPATH=%CLASSPATH%;.\lib\xerces-1.3.0.jar
set CLASSPATH=%CLASSPATH%;.\lib\werken.xpath.jar
set CLASSPATH=%CLASSPATH%;.\lib\antlr-runtime.jar
%JAVA_HOME%\bin\java.exe org.apache.tools.ant.Main -buildfile %BUILDFILE% %1 %2 %3 %4 %5 %6 %7 %8 %9
goto end
REM -----------ERROR-------------
:javahomeerror
echo "ERROR: JAVA_HOME not found in your environment."
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
:end
set BUILDFILE=%_BUILDFILE%
set _BUILDFILE=
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=