Put a "description" attribute on the targets you want to make visible,
and then you can use "ant -projecthelp" to list those targets. That
way, "internal" targets aren't listed with the targets you want the
developers to see.

Otherwise, if you're on Unix, you can use sed:

sed -n '/<target/s/<target.*name="\([^"]*\).*$/\1/p' build.xml

On Tue, May 13, 2008 at 11:02 AM,  <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
>  How to list out no. of targets in build.xml file using ANT command.
>
>
>
>  Please let me know. Please help.
>
>
>
>  Regards,
>
>  Irfan
>
>
>
>



-- 
--
David Weintraub
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to