Joined: Wed Aug 05, 2009 12:09 pm Posts: 1
|
Hello,
I am using hbm2java ant task for creation of java classes from hbm.xml files. I am using hibernate-tools-3.2.0.beta9a.jar hibernate3.jar jcl-over-slf4j-1.5.8.jar slf4j-api-1.5.8.jar slf4j-jcl-1.5.8.jar
But when i try same ant script with hibernate-3.1.3.jar hibernatetools-3.1.0-b4.jar
it executed properly. But with hibernate-tools-3.2.0.beta9a & slf4j related jars I got StackOverflowExcpetion.
Ant script is as below:
<project default="hbm2java"> <property name="build.dir" location="." /> <property name="lib.dir" location="lib" /> <property name="conf.dir" location="conf" />
<path id="cp"> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> </fileset> </path>
<target name="hbm2java">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="cp"/>
<hibernatetool destdir="${build.dir}" classpath="${conf.dir}"> <configuration configurationfile="${conf.dir}/hibernate.cfg.xml"/>
<hbm2java jdk5="true" ejb3="false"/>
</hibernatetool> </target> </project>
Please suggest me how to run this command with new build. Is it a bug in this build?
|
|