0% found this document useful (0 votes)
41 views2 pages

How To Build

Apache POI 3. And later requires the JDK version 1. Or later. Versions prior to 3. Require JDK 1.4+. Install Apache Ant The POI build system requires Apache Ant Specifically the build has been tested to work with ANT version 1.7.1. Run unit tests and building a distribution requires JUnit. Just pick the latest versions of the jars from SourceForge and place them in ANT_HOME / lib.

Uploaded by

Jonathan Felch
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

How To Build

Apache POI 3. And later requires the JDK version 1. Or later. Versions prior to 3. Require JDK 1.4+. Install Apache Ant The POI build system requires Apache Ant Specifically the build has been tested to work with ANT version 1.7.1. Run unit tests and building a distribution requires JUnit. Just pick the latest versions of the jars from SourceForge and place them in ANT_HOME / lib.

Uploaded by

Jonathan Felch
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Apache POI - How To Build

by Glen Stampoultzis, Tetsuya Kitahata, David Fisher

1. JDK Version POI 3.5 and later requires the JDK version 1.5 or later. Versions prior to 3.5 require JDK 1.4+ 2. Install Apache Ant The POI build system requires Apache Ant Specifically the build has been tested to work with Ant version 1.7.1. To install the product download the distribution and follow the instructions. Remember to set the ANT_HOME environment variable and add ANT_HOME/bin to your shell's PATH. 3. Install JUnit Running unit tests and building a distribution requires JUnit. Just pick the latest versions of the jars from SourceForge and place them in ANT_HOME/lib. Make sure that optional.jar is in ANT_HOME/lib. 4. Install Apache Forrest The POI build system requires Apache Forrest to build the documentation. Specifically the build has been tested to work with Forrest 0.5. This is an old release which is available here. Remember to set the FORREST_HOME environment variable. 5. Building Targets with Ant The main targets of interest to our users are:
Ant Target Description

Page 1
Copyright 2002-2010 The Apache Software Foundation All rights reserved.

Apache POI - How To Build

clean compile test jar assemble docs

Erase all build work products (ie. everything in the build directory Compiles all files from main, contrib and scratchpad Run all unit tests from main, ooxml, contrib and scratchpad Produce jar files Produce .zip and tar.gz distribution packages Generate all documentation (Requires Apache Forrest)

Page 2
Copyright 2002-2010 The Apache Software Foundation All rights reserved.

You might also like