Hibernate Team |
|
Joined: Tue Aug 26, 2003 7:19 pm Posts: 2364 Location: Brisbane, Australia
|
The ANT task for XDoclet requres the version to be set to version 2 rather than no version as it will generate mappings for version 1.x of Hibernate, eg,
<hibernatedoclet
destdir="${generated.home}"
excludedtags="@version,@author,@todo"
force="${generated.forced}"
mergedir="${generated.home}"
verbose="false">
<hibernate version="2.0"/> <!-- HERE -->
<fileset dir="${src.home}">
<include name="**/hibernate/*.java"/>
</fileset>
<hibernate/>
</hibernatedoclet>
See above. Ill have to add it to the docs.
|
|