At 05:13 2/4/01 -0700, Craig R. McClanahan wrote:
>
>
>On Tue, 3 Apr 2001, Peter Donald wrote:
>
>> At 10:14 2/4/01 -0700, Morgan Delagrange wrote:
>> > use* - generate a standard help message, including
>> > which targets are valid for this project
>>
>
>One habit I'm starting to apply is to include "description" attributes on
>the targets that I expect a user to be likely to invoke directly. Then,
>the "ant -projecthelp" command nicely segregates these targets and
>documents them, without having to maintain a separate "use" target.
Agreed - all my new help/usage targets now do something like
<echo message="Please run ant --projecthelp for a full description of
usage" />
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*