max wrote:
have a log4j.properties or log4j.xml in the root of the classpath you used with hibernate tools
I tried it and it does not work.
There is a log4j.properties in /etc directory under the hibernate installation.
I added this directory to the path defined in the
taskdef and the warning still persists, i.e. it did not change anything.
I then change it to the following:
Code:
<hibernatetool destdir="${build.java.dir}" templatepath="${tmpl.hibernate.dir}">
<classpath>
<pathelement location="${build.java.dir}" />
<pathelement location="${hibernate}/etc"/>
</classpath>
<configuration configurationfile="${build.conf.dir}/su2Hibernate.cfg.xml"/>
<hbm2java jdk5="true" ejb3="false"/>
<hbm2dao destdir="${build.java.dir}" templatepath="${tmpl.hibernate.dir}">
</hbm2dao>
</hibernatetool>
Nothing has changed either. What else can I do?