Java Mailing List Archive

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

Home » Ant Developers List »

Re: Adding magic properties for targets?

Kevin Jackson

2008-05-30

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

> Colm's patch in
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=44980> adds two
> new magic properties, one for the build's default target and one for
> the targets specified on the command line (or via <*ant*>).
>
> IIRC such properties have been suggested many moons ago and rejected,
> but now the dev community is a different one and maybe we do see some
> things differently today. I know that I do, i.e. I'd probably add
> them today.
>
> Before I start to discuss gritty details of a really trivial patch,
> let's have a quick poll so we know whether such a feature would be
> acceptable. If anybody out there would reject either property, could
> you please raise your hand?

I probably wasn't around when these properties were first discussed,
but I don't see any harm in allowing access to what are essentially
static values.
+0

Kev

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