ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject AW: ant.project.invoked-targets
Date Tue, 24 Feb 2015 11:22:46 GMT
Ok, I've updated the manual.

Jan

> -----Ursprüngliche Nachricht-----
> Von: Stefan Bodewig [mailto:bodewig@apache.org]
> Gesendet: Montag, 23. Februar 2015 16:34
> An: dev@ant.apache.org
> Betreff: Re: ant.project.invoked-targets
> 
> 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



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


Mime
View raw message