Chapter 2. Installing Schmant

Table of Contents

Requirements
Downloading
Installing
Running unit tests (optional)
Running unit tests on Unix
Running unit tests on Windows

Schmant requires at least Java 6.0 to run. This requirement is just for running Schmant, though. Schmant scripts can build applications targeted for any Java version.

Download Schmant from http://www.schmant.org. There are two distributions to choose between. The binary distribution includes everything that is needed to run Schmant and all documentation. The source distribution contains everything that the binary distribution contains, as well as the complete Schmant source code in an Eclipse workspace.

Unpack the distribution into a directory. Most script languages require that the script language implementation JARs are on the classpath when running build scripts. Either put them on the classpath manually or put them in the Schmant installation's libengine directory. See the different script language guides for details.

The source distribution comes with a set of unit tests. For running them, the following requirements must be met:

The unit tests will generate verbose output and what may seem to be a lot of errors. That is just part of the normal tests. The interesting output comes in the test report that is written when all tests have been run.