From 67cf81215052e47ab2028c67dc5611a8e942fa5a Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sat, 12 Nov 2005 15:42:11 +0000 Subject: [PATCH] Ant is not in the lib directory anymore. Run test with the "ant" script, not "runtests". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332784 13f79535-47bb-0310-9956-ffa450edef68 --- examples/fo/runtests.bat | 33 --------------------------------- examples/fo/runtests.sh | 30 ------------------------------ 2 files changed, 63 deletions(-) delete mode 100755 examples/fo/runtests.bat delete mode 100644 examples/fo/runtests.sh diff --git a/examples/fo/runtests.bat b/examples/fo/runtests.bat deleted file mode 100755 index 77e3fdc6a..000000000 --- a/examples/fo/runtests.bat +++ /dev/null @@ -1,33 +0,0 @@ -@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= - diff --git a/examples/fo/runtests.sh b/examples/fo/runtests.sh deleted file mode 100644 index c3eb8623a..000000000 --- a/examples/fo/runtests.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -echo -echo "Fop Test" -echo "----------------" -echo - -if [ "$JAVA_HOME" = "" ] ; then - echo "ERROR: JAVA_HOME not found in your environment." - echo - echo "Please, set the JAVA_HOME variable in your environment to match the" - echo "location of the Java Virtual Machine you want to use." - exit 1 -fi -LIBDIR=../../lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/ant.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xml-apis.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar - -ANT_HOME=$LIBDIR - -echo Building with classpath $CLASSPATH:$LOCALCLASSPATH -echo - -echo Starting Tests... -echo - -$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $* -- 2.39.5