On Sunday, September 23, 2001, at 04:40 PM, Jason van Zyl wrote:
> On 9/23/01 4:59 AM, "robert burrell donkin" <[EMAIL PROTECTED]> wrote:
<snip>
>>> Let us know what's special about what you are doing.
>>
>> 1. i'm running those cool texen extensions that jason doesn't like :)
>
> What texen extensions? I guess I forgot because I'm not sure what you're
> talking about.
(thought that'd wake you up ;-)
i think you had a quick look at them a while back.
it's that texen subclass that allows dynamic extensibility (rather than
having to create a new subclass every time). i sort of agree with what you
said about the changes being complex and adding only a small amount of
functionality. i like them because i think they produce more readable
build scripts and generation templates. (i've also got a load of useful
templates that i'd have to convert.)
i had planned to resubmit them when the jakarta-velocity-texen sub-project
gets off the ground.
i could probably live with a sufficiently general digester-based subclass.
the idea is that you'd specify a ruleset class by name and that'd be
loaded into digester by the subclass and used to create the object model
passed into the generation template. that way, you don't to write a new
texen subclass, just write - or generate - an object model and a set of
rules to create that object model from the xml fed in.
- robert