Here is my ant task:
<target name="generate-mappings" depends="compile"\
<hibernatedoclet
destdir="${build.database.classes.dir.map}"
excludedtags="@version,@author,@todo,@desc"
addedtags="@xdoclet-generated at ${TODAY},@author"
force="true"
mergedir="${package.src.dir}"
verbose="true">
<fileset dir="${build.database.classes.dir.map}">
<include name="**/*.java"/>
<include name="exceptions/*.java"/>
<include name="dao/*.java"/>
</fileset>
<hibernate version="2.1"/>
<jbossservice ..../>
</hibernatedoclet>
</target>
This task runs, says it creates the mapping files, creates the jboss-service.xml and completes successfully. BUT, there are no mapping files in the build.database.classes.dir.map directory? What is going on? I have tried everything I can think of to include putting a . in front of the files in the include names. Changed the hibernate version to 2.0. My environment looks good. Any clues???????????
|