Instead of using hbm2dao im trying to use hbmtemplate to customize the package and file suffix for my dao's. I don't see an easy way of doing this without hardcoding the package name and suffix in my freemarker template. Is there another way of specifying these properties in my Ant build file?
Here's what I have now:
Code:
<hbmtemplate
templateprefix="dao/"
template="templates/dao/dao.ftl"
filepattern="com/foo/crm/dao/{class-name}Dao.java">
<property key="jdk5" value="true"/>
<property key="ejb3" value="false"/>
</hbmtemplate>
It seems all reverse engineering tasks are forced to inherit the same packagename defined as part of the jdbcconfiguration element.[/code]