From 00054e82ce538f08384f606d9c619eadf8d306a7 Mon Sep 17 00:00:00 2001
From: Christian Geisert
User reports of bugs and requests for enhancements are extremely important parts of FOP development, and we appreciate the time you take to help -us track these issues down. -To help us ensure that the bug database is as useful as it should be, please -use the following checklist if you are considering reporting a new bug:
-Compilation is started by executing build, either as a batch file on win32 (build.bat) or as a shell script on unix. Before you - can start one of these scripts, you have to setup your classpath and the environment variable JAVA_HOME (see below).
-The compilation uses Ant, - a replacement of make (you can find more information about Ant at - jakarta.apache.org). - build.xml is the replacement of makefile. Look there for detailed information on the build - process and different targets.
-A help screen is shown by calling "build usage".
-If you only want to use FOP, you don't need to build it. A fop.jar comes with the distribution.
-FOP distributions are either pre-compiled binary or source. +If you are using a binary distribution, it is already built and there is no need to build it again. See the Download Instructions for information about whether a binary or source distribution is best for your needs. +
You have to set the enviroment variable JAVA_HOME. It must point to your local JDK - root directory. This is true, even if you use JDK 1.2 or above, which normally don't need this - setting. It is used by Ant, the compilation software.
-+ Building FOP requires a minimum Java Development Kit (JDK) of 1.3. +
+There is no generally no need to setup a classpath. +All libraries needed to compile FOP are included in the source distribution and are referenced by the build script. +You will only need to adjust the classpath if you build FOP in some other way. See the build scripts (build.bat for Windows, and build.sh for Unix) for details.
+Ant, which is used by the build script, requires that the environment variable JAVA_HOME point to your local JDK root directory. +This is true even if you use JDK 1.2 or above, which normally don't need this setting.
+Build FOP by executing the "build" script, which is located in the FOP root directory. +The Windows batch file is build.bat, and the Unix shell script is build.sh. +The examples below are for running the shell script, but except for the build file extension, the syntax is identical.
+The build script uses Ant, a popular java-based build tool. +The file build.xml in the FOP root directory is the blueprint that Ant uses for the build. +It contains information for numerous build targets, many of which are building blocks to more useful target, and others which are primarily used by the FOP developers. +You may benefit from looking through this file to learn more about the various build targets. +To obtain a complete list of useful build targets:
+ +The most useful targets are:
+To run the build:
+ +For example to do a normal build for the package target (which is the default):
+ +OR
+ +To clean the build directory first:
+ +If you have problems compiling FOP, please try this first:
+If you have problems building FOP, please try the following:
If you still have problems, please look at the - page bugs, for further help.
+