Hibernate version: 2.1.7
Issue: shemaexport
Hello, my schemaexport is not working so well. I am using the following target in ant:
Code:
<target name="schemaexport" depends="compile">
<taskdef name="schemaexport"
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="basic.path"/>
<schemaexport
config="${output.dir}/classes/hibernate.cfg.xml"
quiet="no"
text="no"
drop="no"
delimiter=";"
output="sql/schema-export.sql">
<fileset dir="${output.dir}/classes">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaexport>
</target>
My issue is that I keep getting a duplicate import exception being thrown. I had a look through all my jars and class build directories and could not find a duplicate class import... I also tried downloading the most recent 2.x release and it still gives me grief.
Anyone come across this and solved it?
Comments are most welcome.
Kind regards
SH