From: Keiron Liddle Date: Tue, 30 Oct 2001 07:21:33 +0000 (+0000) Subject: updated build scripts for new jars and removed old targets X-Git-Tag: fop-0_20_4-doc~235 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18bd54a066a4b82f8cd12e1d5d07f0c64feed4f3;p=xmlgraphics-fop.git updated build scripts for new jars and removed old targets git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194528 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.bat b/build.bat index 9965e1326..0f0ddd2b2 100755 --- a/build.bat +++ b/build.bat @@ -6,8 +6,8 @@ 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%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\logkit-1.0b4.jar;%LIBDIR%\avalon-framework-4.0.jar +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.4.3.jar;%LIBDIR%\xalan-2.2D11.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\logkit-1.0.jar set ANT_HOME=%LIBDIR% @@ -29,3 +29,4 @@ echo location of the Java Virtual Machine you want to use. rem set LOCALCLASSPATH= +pause; diff --git a/build.sh b/build.sh index be7f1b03a..4f443cc82 100755 --- a/build.sh +++ b/build.sh @@ -13,8 +13,8 @@ if [ "$JAVA_HOME" = "" ] ; then exit 1 fi LIBDIR=lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.2.3.jar:$LIBDIR/xalan-2.0.0.jar:$LIBDIR/xalanj1compat.jar:$LIBDIR/bsf.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar:$LIBDIR/logkit-1.0b4.jar:$LIBDIR/avalon-framework-4.0.jar +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.4.3.jar:$LIBDIR/xalan-2.2D11.jar +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar:$LIBDIR/logkit-1.0.jar ANT_HOME=$LIBDIR @@ -24,3 +24,4 @@ echo Starting Ant... echo $JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH" org.apache.tools.ant.Main $* + diff --git a/build.xml b/build.xml index 93da09454..9047449e9 100644 --- a/build.xml +++ b/build.xml @@ -17,8 +17,8 @@ Introduction FOP is the world's first print formatter driven by XSL formatting objects. It is a Java 1.1 application that reads a formatting object tree and then turns it into a PDF document. The formatting object tree, can be in the form of an -XML document (output by an XSLT engine like XT or Xalan) or can be passed in -memory as a DOM Document or (in the case of XT) SAX events. +XML document (output by an XSLT engine like Xalan) or can be passed in +memory as a DOM Document or SAX events. FOP is part of Apache's XML project. The homepage of FOP is http:/xml.apache.org/fop @@ -101,11 +101,6 @@ The fop build system is very flexible: if a module requires a package that is not present in the classpath at build time, the module is skipped but the built process is not stopped. -Here is a list of such modules and what you have to download to build them: - - org.apache.fop.apps.XTCommandLine ===> - James Clark's XT (http://www.jclark.com/) - 2) I see a lot of warnings starting like this: "Warning: file modified in the future:" Sometimes ant gives out this warnings, but the build is finished without any problems @@ -131,12 +126,10 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - - - + + - - + @@ -162,11 +155,11 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - + - + @@ -215,14 +208,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - - @@ -257,7 +242,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - @@ -275,26 +259,19 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - + - - - - - - + - - @@ -347,7 +324,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - @@ -358,16 +334,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro targetDir="${build.dest}/hyph" /> - - - - - - - - - - @@ -388,14 +354,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - - - - - - - - @@ -407,11 +365,11 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - + + excludes="**/Makefile*, **/package.html, **/${jimi},**/${jai},**/${xsltransform},**/${trax},**/apps/TraxInputHandler.java"/> @@ -522,19 +480,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro excludes="**/*${ignore_this},${jimi}"/> - - - - - - - - @@ -553,32 +498,25 @@ Sometimes ant gives out this warnings, but the build is finished without any pro + refVersion="FOP 1.0dev"/> + refVersion="FOP 1.0dev"/> - - - - - @@ -629,7 +567,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - diff --git a/buildtools.xml b/buildtools.xml index 37be5e051..957045ca3 100644 --- a/buildtools.xml +++ b/buildtools.xml @@ -5,8 +5,7 @@ Instructions for building the buildtools.jar: Classpath should contain the following: - Xerces 1.2.x - Xalan 1.2.x + Xerces 1.4.x Xalan 2.x xml-fop/lib/ant.jar @@ -25,11 +24,9 @@ - - @@ -46,19 +43,11 @@ includes="${tools}/**,${hyph}/**"/> - + - - - - - - - + excludes="${tools}/anttasks/Fop.java,${tools}/TestConverter.java,${tools}/AreaTreeBuilder.java,${hyph}/Hyphenator.java,**/${trax}"/>