Joined: Tue Sep 28, 2004 2:01 pm Posts: 17
|
Tools: Hibernate 2.1.6 with ANT plug-ins for middlgen and hbm2java.
Using the hbm2java renderer however the velocity renderer never kicks in.
<hbm2java config="config.xml" output="out">
<fileset dir="out">
<include name="**/*.hbm.xml"/>
</fileset>
</hbm2java>
Added the VelocityRenderer to the config.xml but it never appears to kick in. The output is just the standard renderer stuff, never gets to velocity or the vm script.
...
<hibernate-configuration>
...
<codegen>
<generate renderer="net.sf.hibernate.tool.hbm2java.VelocityRenderer">
<param name="template">pojo.vm</param>
</generate>
...
</hibernate-configuration>
|
|