You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by I am Who i am <ra...@gmail.com> on 2008/08/18 19:05:09 UTC

How to get project,target name?

Hi All,

is there any way to get the project,target name liek variable at run time of
project.

for eg.

i want to add echo message which says ======Running ${target.name}=========

I may be wrong, but i think i rememer seeing some doc, which has all the ant
implemented inter properties, anyone has any idea? where is it?  or how
these type of properties we can get

Thanks in advance

Re: How to get project,target name?

Posted by supareno <re...@free.fr>.
I am Who i am a écrit :
> Hi All,
>
> is there any way to get the project,target name liek variable at run time of
> project.
>
> for eg.
>
> i want to add echo message which says ======Running ${target.name}=========
>   
${target} for the target
${ant.project.name} for the project name
etc...

check out this link:
http://ant.apache.org/manual/using.html#built-in-props

supareno
> I may be wrong, but i think i rememer seeing some doc, which has all the ant
> implemented inter properties, anyone has any idea? where is it?  or how
> these type of properties we can get
>
> Thanks in advance
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org