ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: calling "-projecthelp"
Date Wed, 12 Dec 2001 19:59:19 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message