JaxoDraw build system
The build process is automated by Maven (see below).
A few considerations:
-
Separation of source files from all generated files:
it should be possible to clean up by simply removing the
target/ 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.
-
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.
Maven
To compile the JaxoDraw source code you have to install
Apache Maven. Check the installation
and compilation instructions in the JaxoDraw
User Guide.