aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/svg/makedoc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/svg/makedoc.bat')
-rwxr-xr-xdocs/examples/svg/makedoc.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/examples/svg/makedoc.bat b/docs/examples/svg/makedoc.bat
index c699a5ed2..27b252fe7 100755
--- a/docs/examples/svg/makedoc.bat
+++ b/docs/examples/svg/makedoc.bat
@@ -4,9 +4,10 @@ echo Building Fop documentation (pdf)
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\buildtools.jar;..\..\..\build\fop.jar;..\..\..\lib\w3c.jar
-set ANT_HOME=..\..\..\lib
+set LIBDIR=..\..\..\lib
+set LIBDIR=lib
+set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\w3c.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-2.0.0.jar:%LIBDIR%\xalanj1compat.jar:%LIBDIR%\bsf.jar:%LIBDIR%\jimi-1.0.jar;%LIBDIR%\..\build\fop.jar
+set ANT_HOME=%LIBDIR%
%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5