velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Lindenbaum <>
Subject Velocity Newbie: looking for examples about declaring macros and loading from jar
Date Fri, 10 Oct 2008 07:39:29 GMT
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 ( ).

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

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message