diff options
author | Keiron Liddle <keiron@apache.org> | 2002-03-27 11:55:52 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-03-27 11:55:52 +0000 |
commit | 9cfac12f9bd3234ae5a4503aed2466193c7e50d2 (patch) | |
tree | 732a5b215af41706c5f2012d6128e56279c18644 /contrib/servlet/build.bat | |
parent | b274c52f988a2952d1fb8656a8f9cacabfd416de (diff) | |
download | xmlgraphics-fop-9cfac12f9bd3234ae5a4503aed2466193c7e50d2.tar.gz xmlgraphics-fop-9cfac12f9bd3234ae5a4503aed2466193c7e50d2.zip |
updated old servlet code, moved to contrib
added print servlet
Submitted By: Jeremias Maerki <jeremias.maerki@outline.ch>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194721 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'contrib/servlet/build.bat')
-rwxr-xr-x | contrib/servlet/build.bat | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/servlet/build.bat b/contrib/servlet/build.bat new file mode 100755 index 000000000..9547eaf94 --- /dev/null +++ b/contrib/servlet/build.bat @@ -0,0 +1,30 @@ +@echo off + +echo Fop Build System +echo ---------------- + +if "%JAVA_HOME%" == "" goto error + +set LIBDIR=../../lib +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\ant-1.3-optional.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.4.3.jar;%LIBDIR%\xalan-2.2D11.jar + +set ANT_HOME=%LIBDIR% + +echo Building with classpath %LOCALCLASSPATH% + +echo Starting Ant... + +%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" 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= + |