Chapter 6. Targets

Like property names, target names should be short and meaningful. A target name should descript the overall intent of the target function. Target names should start with a verb, in mixed case with the first letter lowercase and with the first letter of each internal word capitalized.

Examples:

All targets that are likely to be called directly, that is, from the Ant command line, should have the description attribute filled in. This description will be included in the output of the ant -projecthelp command.

Targets that should not be called directly from the command line should start with a hyphen, for example,

-cleanDocDir