Building SR4Toolbox
Building SR4Toolbox is straightforward to do. First you need to setup your build environment. The following tools are needed:
- a Java SDK, at least version 1.5 is required
- ant
Compiling in 3 easy steps
- step 1: get the source and libraries, from SVN or unpack the tarball
- step 2: run ant
- step 3: run 'ant dbcreate' to create the database
Step 1: get the source and libraries
To get the source, you can check it out from SVN:
svn co https://sr4toolbox.svn.sourceforge.net/svnroot/sr4toolbox/trunk sr4toolbox
or you can download the tarball sr4toolbox-0.3-withlibs.tar.gz and unpack it. This tarball can be found in the download section.
You also need some libraries used by SR4Toolbox. The tarball sr4toolbox-0.3-withlibs.tar.gz contains them. If you got the source from svn and you don't already have these libraries, I suggest to get teh tarball and copy them from the lib directory.
running ant without parameters builds the executable
running ant again but with the dbcreate target (ant dbcreate) builds the database

Compiling