ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: property for initial target called
Date Tue, 14 Oct 2008 04:03:59 GMT
On Mon, 13 Oct 2008, EJ Ciramella <eciramella@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


Mime
View raw message