Building the jar file

Not all required libraries are included in the source distribution. To build sqlworkbench.jar from the source distribution, unpack the source archive into a directory. Alternatively you can also checkout the sources from the subversion repository.

This directory will be referenced as ${wbroot} in this description.

To prepare your environment to build SQL Workbench/J from source you will need to

If you check out the subversion repository, the junit directory will be available automatically.

Now you can build the jar file by typing ant while the scripts directory is your current directory. If the build is successful, ${wbroot}/dist/sqlworkbench.jar will be created.

The default Ant target make-dev-jar does not build the manual.

Building the manual

To build the manual you need to download Docbook XSLLink Arrow package (Version 1.72) and FOPLink Arrow (fop-0.94-bin-jdk1.4.zip).

Now you can build the PDF manual by typing ant pdf or HTML manual by typing ant publish-dev.