On Thu, 13 Dec 2001 00:45, Jens v.P. wrote:
> Hello,
>
> I'm looking for a task (or something) that makes it possible
> to output the project help, as it is printed when ant is called with
> "-projecthelp" option.
>
> Background:
> Usually a target "help" exists. Usually, this target prints exactly
> the same as ant -projecthelp. What I need is something like this:
>
> <target name="help">
> <echo>${projecthelp}</echo>
> </target>
How about
<target name="usage" depends="help">
<target name="help">
<echo>Run ant -projecthelp for description of targets in
project</echo>
</target>
--
Cheers,
Pete
------------------------------------------------
"No. Try not. Do. Or do not. There is no try."
-- Yoda
------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>