diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-11-12 15:42:11 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-11-12 15:42:11 +0000 |
commit | 67cf81215052e47ab2028c67dc5611a8e942fa5a (patch) | |
tree | 6b44dde3ab8694ef223e2ebb1620455ade5e6d20 | |
parent | b7c43146df568f75ea23907c8e647e501d65c6bc (diff) | |
download | xmlgraphics-fop-67cf81215052e47ab2028c67dc5611a8e942fa5a.tar.gz xmlgraphics-fop-67cf81215052e47ab2028c67dc5611a8e942fa5a.zip |
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
-rwxr-xr-x | examples/fo/runtests.bat | 33 | ||||
-rw-r--r-- | examples/fo/runtests.sh | 30 |
2 files changed, 0 insertions, 63 deletions
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 $* |