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 <ant> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to