Generating the distribution packages

There are a couple of Ant targets for this purpose:

Buildfile: build-distro.xml
Kosmos Distro build-file
Main targets:

 clean               Cleans up temporary files created during previous builds
 dist                Prepares all distributables
 dist-bin            Prepares all binary distributables
 dist-src            Prepares all source distributables
 javadocs            Generates the javadocs
 manual              Generates the manual in all formats
 manual-html         Generates the manual in multi-page HTML format
 manual-pdf          Generates the manual in PDF format
 manual-single-html  Generates the manual in single-page HTML format
Default target: dist

The only detail you have to care about is setting the correct local paths in build.properties for the following dependencies that are not included in the Kosmos distribution package:

docbook.dir=/java/docbook-xsl-1.69.1
fop.dir=/java/fop-0.20.5
saxon.dir=/java/saxonb-8.5