<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document>
  <header>
    <title>Building Barcode4J</title>
    <authors>
      <person id="jmaerki" name="Jeremias Märki" email="jmaerki@users.sourceforge.net"/>
    </authors>
  </header>
  <body>
    <section>
      <title>Introduction</title>
      <p>This page tells you how to build <strong>Barcode4J</strong>.</p>
    </section>
    <section>
      <title>Requirements</title>
      <ul>
        <li>Java Development Kit (JDK) 1.5 or higher (available from <jump href="ext:java">Oracle</jump>)</li>
        <li><jump href="ext:ant.apache.org">Apache Ant</jump> 1.6.2 or higher (available from <jump href="ext:ant.apache.org">http;//ant.apache.org/</jump>)</li>
        <li>Download <strong>Barcode4J</strong> as described on the 
          <link href="../download.html">Download page</link> or from 
          <link href="../viewcvs.html">CVS</link>
        </li>
      </ul>
      <note>
        Barcode4J requires J2SE 1.5 at compile time, but works with J2SE 1.4 at run time.
      </note>
    </section>
    <section>
      <title>Building</title>
      <p>Go to the directory where you placed <strong>Barcode4J</strong> and 
        run the Ant build script ("<code>ant</code>" on Windows, "<code>./ant.sh</code>" on Unix).
      </p>
      <p>If all goes well, this creates a "build" directory which now contains several things:</p>
      <ul>
        <li><code>barcode4j.jar</code>: The barcode package</li>
        <li><code>barcode4j-light.jar</code>: A reduced barcode package without dependency on Avalon Framework.</li>
        <li><code>barcode4j.war</code>: The sample web application with the sample servlet</li>
        <li>the "<code>docs</code>" directory: This directory contains the generated Javadocs</li>
      </ul>
    </section>
  </body>
</document>
