On Tue, 2007-09-25 at 09:48 +0100, Rupert Smith wrote: > The Java generator was rubbish. > > How come you were not using the Velocity generator? I guess only the Java > was converted to using that, or it was never merged down from M2 to trunk? > The velocity templates approach seemed simple and useful enough.
As C++ was moving to 0-9, it became so difficult to manage 0-9 changes to the code generator for C++ while not breaking anything in Java that I forked the code generator, so the velocity generator never made it to C++. I confess I didn't investigate the velocity stuff thoroughly because I already had the guts of a ruby generator to hand and because the Java dependency has always been troublesome for a C++ project.
