Hi Velocity,

I'm a newbie with velocity but I've already enjoyed at generating java code to handle the entities of a set of mysql tables ( http://plindenbaum.blogspot.com/2008/10/java-wrappers-for-tables-of.html ).

Now, I'm looking for a sample of code that would show :

* the best way to declare a set of macro that will be shared among different templates. I've already tried
to use
      #parse("macros.vm")

but the engine complained that the macro were already defined.

* how should I code Velocity so it could
find the templates in the packaged jar file.

Many thanks in advance

Pierre



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to