You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by EJ Ciramella <ec...@upromise.com> on 2008/10/13 21:10:34 UTC

property for initial target called

Is there a ${target.name} or similar property for the target name that
was passed to ant?
 
I tried running <echoproperties/> and didn't see anything I could use.
 
 

Re: property for initial target called

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Oct 2008, EJ Ciramella <ec...@upromise.com> wrote:

> Is there a ${target.name} or similar property for the target name
> that was passed to ant?

Not in Ant 1.7.x, but Ant's trunk has (and Ant 1.8.0 will have) such a
property, ant.project.invoked-targets that contains a comma separated
list of the targets specified on the command line.

Stefan

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