On 2009-12-08, Raja Nagendra Kumar <nagendra.r...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to