Table of Contents
Schmant tasks are the building blocks of build scripts. Since build scripts are programs, it's entirely possible to program all build code in them. However, it can sometimes be worth while to implement commonly used build logic in tasks. Some advantages of tasks compared with having complex code in build scripts are:
The disadvantage is that tasks require a greater effort to implement.
Collections of tasks are packaged in task packages, which is the standard way of distributing Schmant tasks. A task package is a Zip file containing zero or more task implementations, other classes and the task reference documentation sources.
This guide explains how tasks are implemented and how they can be grouped together in task packages. It assumes that the reader is familiar with how Schmant build scripts work and the roles and life cycles of tasks and task factories. See the User's Guide for documentation on how to use Schmant.