ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant.project.invoked-targets
Date Mon, 23 Feb 2015 15:34:22 GMT
On 2015-02-23, Jan Matèrne (jhm) wrote:

> The magic property "ant.project.invoked-targets" is set when the targets are
> executed.

> That means, that you can't use this property in the implicit target

True.

> The manual (properties.html) sais:

> "a comma separated list of the targets that have been specified on the

> command line (the IDE, an &lt;ant&gt; task ...) when invoking the __current
> project__."


> IMO this is not true - or even concrete enough.


> Should we just change the manual or move the place where this property is
> set?

Hmm, I don't really see where to do that.  For normal CLI invocations we
could move setting the property to Main, but that would break
compatibility for alternative AntMain implementations - and the <ant>
task, for example.

My vote goes for documenting the current state.

Stefan

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


Mime
View raw message