Re: PropertyHelper (was: Re: beating the dead Ant 1.6 horse)

2003-08-14 Thread Knut Wannheden
Costin, > > This raises a question: Are properties whose values are resolved by custom > > PropertyHelpers always converted to Strings? I see that the return type > > of PropertyHelper#getPropertyHook(String, String, boolean) has Object as > > the > > return type. But if that's always converted

Re: PropertyHelper (was: Re: beating the dead Ant 1.6 horse)

2003-08-14 Thread Costin Manolache
Knut Wannheden wrote: > Sounds great! > > In anticipation of this feature I have used a few namespaced properties > for > my custom tasks. And since Ant 1.5 doesn't have any value for these, I've > just made the tasks resolve them explicitly. > > This raises a question: Are properties whose val

Re: PropertyHelper (was: Re: beating the dead Ant 1.6 horse)

2003-08-14 Thread Gus Heck
Yes. PropertyHelper is a property interceptor, and it simply rocks. In essence, you register a helper with Ant. Then, at each request for a property, each registered helper is asked for the property value in turn; the first one that has it, returns it. Completely not following this property helpe

Re: PropertyHelper (was: Re: beating the dead Ant 1.6 horse)

2003-08-14 Thread Knut Wannheden
Sounds great! In anticipation of this feature I have used a few namespaced properties for my custom tasks. And since Ant 1.5 doesn't have any value for these, I've just made the tasks resolve them explicitly. This raises a question: Are properties whose values are resolved by custom PropertyHelp