ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: PropertyHelper thoughts
Date Fri, 15 Jun 2007 04:19:15 GMT
On Thu, 14 Jun 2007, Kevin Jackson <foamdino@gmail.com> wrote:

> After throwing together a quick hack to support my substring
> properties use case, Matt suggested instead significant changes to
> the property helper class.
> 
> After looking through the code this afternoon here are my thoughts
> on a possible way to implement a configurable propertyHelper
> 
> 1 - Make the current PropertyHelper pluggable and allow users to
> specify which one to use at cli

+1

> 2 - Make a new task which is pluggable
> 
> This would allow users the same benefits as a pluggable
> propertyhelper, but as it's a task, it can be configured entirely
> via xml

+1

> 3 - Stick with my quick hack of a task and ignore the wider issues
> of how properties are handled

I don't really have any opinion here.

> I'd love to hear feedback from anyone who has modified the
> PropertyHelper (I guess via a task as there doesn't seem to be any
> other way of getting custom behaviour implemented)

There are examples in
svn:ant-trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/ 
but I've never used PropertyHelper myself.

Stefan

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


Mime
View raw message