On Thu, 14 Jun 2007, Kevin Jackson <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]