Hi,
I have the following ant script, the hbms are already generated. I just need to generate classes with xdoclet2 instead of xdoclet1
In my project in lib directory i have only xdoclet2, i deleted v1.
Why it always generates classes with xdoclet1?
Code:
<target name="hbm2java" depends="middlegen" description="Generate .java from .hbm files.">
<taskdef
name="hbm2java"
classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask"
classpathref="lib.class.path"
/>
<hbm2java output="${build.gen-src.dir}">
<fileset dir="${build.gen-src.dir}">
<include name="**/*.hbm.xml"/>
</fileset>
</hbm2java>
</target>