<taskdef name="schemaexport" classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"> <classpath> <path refid="xdoclet.classpath"/> <path refid="hibernate.classpath"/> </classpath> </taskdef> ? When I google for schemaexport, all I can find is javadoc documentation. Is there a tutorial on this subject somewhere? I would love to know what database vendors are supported.
I spent many hours discovering that I must have my schemaexport target depend on my "dist" target. Why is this?
(1) I thought schemaexport would have to have access to the hbm.xml files, but instead it has access to the compile class files originally in the bin directory. Does it not need access to the hbm.xml files I had hibernatedoclet create?
(2) Why does it need my pojos in a jar file in the path?
Below is my build.xml file that works for a trival class. I don't know why it works, however. Thanks, Siegfried