Hibernate-Ant Set-up
What fun this can be! The ant file can be made to use some nice
Hibernate tasks. How to set this up from scratch is described very well
by this page on the hibernate website.
There is also an introductory article that describes some nice things you can do with Ant and Hibernate.
SchemaExportTask
Notes
- hibernate2.jar has to be in the classpath referenced by the taskdef.
- In the classpath of this task, you must ensure that your classes are also in the classpath.
Once you get the hang of it you can also see XDoclet 2 which you can also download.