Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Adding magic properties for targets?

Dominique Devienne

2008-06-02

Replies: Find Java Web Hosting

Author LoginPost Reply
>> 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. But I'm not too sure how this one could be
useful ;-) --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.