ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant properties access based Object notation rather than script based
Date Tue, 08 Dec 2009 05:02:58 GMT
On 2009-12-08, Raja Nagendra Kumar <Nagendra.Raja@tejasoft.com> wrote:

> In this context was thinking is there a way/or think of a new feature to
> declare ant properties as interface constants/enums in java and refer them
> through the interface only.. many be though class import and referring them
> directly (not using the <script> tag or <groovy>).

You will find that the infrastructure for such a change is already in
place with PropertyHelpers in trunk (they are quite different from Ant
1.7.x PropertyHelpers).

"All it takes" is to write a property helper implementation that
provided your intended semantics and register it at the top of the build
file.

Stefan

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


Mime
View raw message