Author Login
Post Reply
On Mon, 2 Jun 2008, Dominique Devienne <ddevienne@(protected):
>>> Since we're at it, we may also want to expose ant.current-target
>>> and ant.invoked-target properties, but these are "dynamic" since
>>> changing during the course of the build, so more problematic given
>>> the property immutability rules.
>>
>> Just to make sure I understand what you are talking about. Those
>> would refer to the currently excuting target
>
> Right.
>
>> and a list of targets that have already been executed, right?
>
> No, I meant the top-level target (which should thus be among the
> ones in ant.invoked-targets) which indirectly triggered the
> execution of dynamic:ant.current-target.
Hmm, this may not be unique. If the command line specified two
targets with a common dependency, then this property would be ambiguos
while executing the current target.
> But I'm not too sure how this one could be useful ;-) --DD
Me neither.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)