aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/runtests.bat
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-03-14 09:43:09 +0000
committerfotis <fotis@unknown>2000-03-14 09:43:09 +0000
commit6851a8efe0544cb6d17f19a7d05a225400ccf0bb (patch)
treefc9bdcd8d31f26c65eb0d2e4dd79741b86fac063 /docs/examples/runtests.bat
parent019ff14759c79605c1e491e007db62fc7191c8a0 (diff)
downloadxmlgraphics-fop-6851a8efe0544cb6d17f19a7d05a225400ccf0bb.tar.gz
xmlgraphics-fop-6851a8efe0544cb6d17f19a7d05a225400ccf0bb.zip
new fop examples and tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193299 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/runtests.bat')
-rwxr-xr-xdocs/examples/runtests.bat26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/examples/runtests.bat b/docs/examples/runtests.bat
new file mode 100755
index 000000000..87047a6fd
--- /dev/null
+++ b/docs/examples/runtests.bat
@@ -0,0 +1,26 @@
+@echo off
+
+echo Fop Test
+echo ----------------
+
+if "%JAVA_HOME%" == "" goto error
+
+set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib\xml.jar;..\..\lib
+set ANT_HOME=.\lib
+
+echo Starting Tests ...
+
+%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=
+