How to Build JSwat

Requirements

You will need the the latest version of the Apache Ant tool. This Java tool makes building a JSwat distribution very easy. Download and install Ant before continuing.

Making the Build

Building a JSwat binary or source package with Ant is very straight-forward. First, download and install Ant, which is really quite easy. Next, invoke Ant from the directory containing the JSwat build.xml file. This will run the default target which should make the source and binary packages. The distributions are packed in .tar.gz and .zip files. The .tar.gz files are compressed tape archive files, common on Unix platforms, while the .zip files are popular on Windows platforms.

Testing the Build

Testing the build is pretty straightforward. Extract the files from the archive created during the build process described above, then start JSwat as described in the README.html file. The general idea is to make sure the JSwat jar file contains all the necessary classes and resource bundles. If any errors occur you may want to check that the build.xml includes all of the necessary files for JSwat to run properly.

Some ideas for what to test:

Releasing the Build

All of the .tar.gz and .zip files should now be uploaded to the SourceForge project site. If you do not know how this is done, see the SourceForge documentation. Be sure to notify the people watching the project so they know of the new release. Once this is done, visit the Freshmeat project page and add a new release there. And finally, send out an email to the jswat-announce mailing list with the list of changes in this release.