From 79db8c24be62a9621234f9b882e5cce0c3def26c Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 11 Sep 2001 08:32:50 +0000 Subject: add build.bat for building on windows git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194458 13f79535-47bb-0310-9956-ffa450edef68 --- docs/design/build.bat | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 docs/design/build.bat diff --git a/docs/design/build.bat b/docs/design/build.bat new file mode 100755 index 000000000..401f4d3de --- /dev/null +++ b/docs/design/build.bat @@ -0,0 +1,29 @@ + +echo NOTE: Do NOT use jdk1.4 - It doesn't work properly +@echo off + +echo Design Doc Build System +echo ---------------- + +if "%JAVA_HOME%" == "" goto error + +set LIBDIR=..\..\lib +set TARGET_CLASSPATH=%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\batik.jar;%LIBDIR%\ant.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\bsf.jar;..\..\build\fop.jar;%LIBDIR%\logkit-1.0b4.jar;%LIBDIR%\avalon-framework-4.0.jar;%LIBDIR%\jimi-1.0.jar +set TARGET_CLASSPATH=%TARGET_CLASSPATH%;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip + +set ANT_HOME=%LIBDIR% + +%JAVA_HOME%\bin\java.exe -classpath "%TARGET_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 + +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 TARGET_CLASSPATH= + -- cgit v1.2.3