GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing xmlgraphics.apache.org — Apache FOP™: Building from Source Code Apache FOP™¶
Apache® XML Graphics¶Sub Projects¶Search Apache XML Graphics¶ApacheCon N. America¶Hope to see you there! ApacheCon Europe¶Hope to see you there!
This document is for an old version of FOP that is no longer supported. Latest version of this page
Apache FOP™: Building from Source CodeDo You Need To Build?Apache FOP™ snapshots are either pre-compiled binary or source. If you are using a binary snapshot, it is already built and there is no need to build it again. If you got the source code from a repository snapshot or via Subversion you will need to build FOP. See the Download Instructions for information about where to obtain binary or repository snapshots, and whether a binary or source snapshot is best for your needs. Set Up Your EnvironmentJDKBuilding FOP requires a minimum Java Development Kit (JDK/SDK) of 1.8 (A Java Runtime Environment is not sufficient). CLASSPATHThere is 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 script build.xml for details. JAVA_HOMEThe build script uses Apache Ant, a popular Java-based build tool, which usually requires that the environment variable JAVA_HOME point to your local JDK root directory. This is true even if you use JDK 1.5 or above, which normally does not need this setting. Apache AntApache Ant (Version 1.7 or later) must be installed in order to build FOP. Following best practices we don't include Ant with FOP anymore. You can find the instructions to install Ant in the Ant manual on the web. Run the Build ScriptChange to the FOP root directory and build FOP by executing the build script (build.xml) using the "ant" command. 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 "all" target (which is the default): OR To clean the build directory first: TroubleshootingIf you have problems building FOP, please try the following:
|
| You are visitor 01402605 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |