JaxoDraw build system

The build process is mostly automated by ant (see below). If you want to build by hand, you first have to properly set up the file system (copy resources, set classpath, etc.).

A few considerations:

  • Separation of source files from all generated files: it should be possible to clean up by simply removing the build/ directory.
  • Design to ease the packaging: related files should be put in the same directories. For instance: all the licenses go into doc/legal/ (and only the licenses), so if we add another license, no package script has to be rewritten because the whole directory is included.
  • Recommendation: jikes should only be used during development, javac has a few optimization options that jikes does not support yet.
  • Proposition: create jar files instead of tar.gz for distribution. Reason: winzip and other unzip utilities have problems with long file names and empty directories in tar archives. A jar is not much bigger than a tar.gz.

Ant

The JaxoDraw source code is most conveniently compiled using the ant build.xml script. You will need at least version 1.6 of ant. Type ant -p for a list of targets.