ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: [PATCH] Suggestion for new commandline switch -targets
Date Mon, 14 Aug 2000 12:56:48 GMT
Tim,

> A thought I had at the time of the <help> conversation hooks up
> nicely here.
> Why not simply have an optional nested element for <target>
> called <description>
> or something like that, which provided verbiage of what the task does, who
> should use it etc.  Then the proposed 'ant -targets' could print
> descriptions
> along with the list of targets. For most people, I *hope*, this
> would simply be
> an exercise of moving text from some XML comments into a defined
> element....

Agreed. Pretty much agrees with what I suggested, I think. My point was that
a list of targets, on its own lacks enough information to be useful but
enough to be dangerous.

I would prefer -targets therefore to be changed to support printing this
help information. Perhaps -targets is no longer an appropriate option label.
It should become a general project information dump, printing project level
help, a list of targets, with their associated help. Perhaps -info or -docs?

I am not too keen on the "private" flag for targets, though.

thoughts? Marcel?


Mime
View raw message