mirror of
https://github.com/apache/xmlgraphics-fop.git
synced 2024-08-14 14:10:15 +02:00
![Jeremias Maerki](/assets/img/avatar_default.png)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195905 13f79535-47bb-0310-9956-ffa450edef68
34 lines
852 B
Batchfile
Executable File
34 lines
852 B
Batchfile
Executable File
@echo off
|
|
|
|
echo Fop Test
|
|
echo ----------------
|
|
|
|
if "%JAVA_HOME%" == "" goto error
|
|
|
|
|
|
set LIBDIR=..\..\lib
|
|
set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
|
|
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant.jar
|
|
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
|
|
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
|
|
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
|
|
set ANT_HOME=%LIBDIR%
|
|
|
|
echo Starting Tests ...
|
|
echo %LOCALCLASSPATH%
|
|
|
|
%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%;%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
|
|
|
|
goto end
|
|
|
|
:error
|
|
|
|
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
|
|
|
|
rem set LOCALCLASSPATH=
|
|
|