Hi,
I've been struggling for several weeks with XDoclet and still no luck generating scripts properly. Posted below is yet another error message. Could someone please tell me how to resolve it? Any thoughts are appreciated.
BUILD FAILED
D:\jZUDIApp\MiddleTier\build.xml:90: taskdef A class needed by class xdoclet.mod
ules.hibernate.HibernateDocletTask cannot be found: xjavadoc/ant/XJavadocTask
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:464)
NOTE:
All classes mentioned in the error output exist in my XDoclet installation. Also, the classpath seems to be right or else it wouldn't find the calling class, HibernateDocletTask, in the first place, right?
HERE IS MY PATH DEFINITION:
<path id="classpath">
<fileset dir="F:\XDoclet121\lib">
<include name="*.jar"/>
</fileset>
<fileset dir="F:\Hibernate21\lib">
<include name="*.jar"/>
</fileset>
<pathelement path="C:\j2sdk14204\lib\tools.jar"/>
</path>
HERE IS THE TASKDEF:
<!-- Defines the hibernatedoclet task -->
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask">
<classpath refid="classpath"/>
</taskdef>
|