Table of Contents
This chapter describes how the Emma task package is built and packaged from the source files in its development environment. This can serve as a blueprint for other task packages.
This is the layout of the Emma task package's Eclipse workspace:
![]() |
Java project containing the task and task factory implementations.
The task package root directory.
Task reference documentation sources.
Task package documentation.
Documentation files that are copied to the task package.
Jar dependencies, test data and build scripts.
Unit test classes.
The task package is built using the Schmant script
build_from_eclipse.js
(included in the
Schmant distribution's samples). It does the following:
Compiles the projects in the workspace.
Builds a Jar file containing the classes from the Schmant_task_emma project.
Builds another Jar file containing the classes from the Schmant_task_emma_test project.
Builds and postprocesses the task reference documentation.
Builds and postprocesses the Javadocs.
Adds version information to other documentation files.
Builds a binary distribution task package Zip file.
Builds a source distribution task package Zip file.