ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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


> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message