Hello,
I have got problem with SchemaExportTask.
When I try generate ddl file, it throws:
all:
java.lang.NoClassDefFoundError
BUILD FAILED (total time: 0 seconds)
and nothing else :/
My ant script:
Code:
<target name="all">
<taskdef name="hbm2ddl" classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask" classpathref="path"/>
<hbm2ddl properties="hibernate.properties" quiet="no" text="true" delimiter=";" output="out.ddll">
<fileset dir="build/">
<include name="*.hbm.xml"/>
</fileset>
</hbm2ddl>
</target>
When I run SchemaExport from shell with the same CLASSPATH it works fine.
I try many various configuration :/ and nothing ... still the same exception :/
Any idea ?
Thanks
flow