Task factory index

EmmaInstrumentationTF – Run Emma instrumentation of Java classes.

EmmaMergeTF – Merge several Emma coverage data files into one.

EmmaReportTF – Generate Emma reports from coverage data.

Building task package documentation

The task package documentation can be built after installing Schmant using the tools/build_task_reference_docs.js script.

By default, Schmant comes bundled with task reference documentation for only the task packages that are included in the distribution. By building the task reference documentation after installing Schmant, it can be made to include the documentation for all locally installed task packages too.

Unix

To build the task reference documentation on Unix, cd to the $SCHMANT_HOME directory and execute the following script (on one line):

bin/schmant.sh -cp optlib/xalan.jar:optlib/xalan-serializer.jar \ -j "-Dfile.encoding=utf8" \ build/build_task_reference_docs.js path to additional task packages \ target directory

Warning: The contents of the target directory will be deleted by the script!

For example:

bin/schmant.sh -cp optlib/xalan.jar:optlib/xalan-serializer.jar \ -j "-Dfile.encoding=utf8" build/build_task_reference_docs.js \ /home/kalle/java/schmant-task-package-emma-1.0.zip:/home/kalle/java/schmant-task-package-pdfdoclet-1.0.zip \ doc/taskref

Windows

To build the task reference documentation on Windows, cd to the $SCHMANT_HOME directory and execute the following script (on one line):

bin\schmant -cp "optlib\xalan.jar;optlib\xalan-serializer.jar" \ -j "-Dfile.encoding=utf8" build\build_task_reference_docs.js path to additional task packages \ target directory

Warning: The contents of the target directory will be deleted by the script!

For example:

bin\schmant -cp "optlib\xalan.jar;optlib\xalan-serializer.jar" \ -j "-Dfile.encoding=utf8" build\build_task_reference_docs.js \ "c:\Documents and Settings\kalle\java\schmant-task-package-emma-1.0.zip" \ doc\taskref