Hello forum, i am trying to automaticaly genete some hbm.xml files from some java source files .
Here is the target I run in the build.xml, when I run it I get the errors that comes after the target
*************************************************************
<target name="julius">
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="lib.class.path"
/>
<hibernatedoclet
destdir="${build.dir}"
mergedir="${build.dir}"
excludedtags="@version,@author,@todo,@see"
addedtags="@xdoclet-generated at ${TODAY},
@copyright The XDoclet Team,@author XDoclet,@version ${version}"
force="false"
verbose="true">
<fileset dir="${test.dir}">
<include name="**/test/to/*.java"/>
<include name="**/test/exceptions/*.java"/>
</fileset>
<hibernate version="2.0"/>
</hibernatedoclet>
</target>
*************************************************************
julius:
[hibernatedoclet] java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc()Lxjavadoc/XJavaDoc;
[hibernatedoclet] at xdoclet.DocletTask.start(DocletTask.java:464)
[hibernatedoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:69)
[hibernatedoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
[hibernatedoclet] at org.apache.tools.ant.Task.perform(Task.java:401)
[hibernatedoclet] at org.apache.tools.ant.Target.execute(Target.java:338)
[hibernatedoclet] at org.apache.tools.ant.Target.performTasks(Target.java:365)
[hibernatedoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
[hibernatedoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
[hibernatedoclet] at org.apache.tools.ant.Main.runBuild(Main.java:669)
[hibernatedoclet] at org.apache.tools.ant.Main.startAnt(Main.java:220)
[hibernatedoclet] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
[hibernatedoclet] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
BUILD FAILED
C:\hibernate-2.1.2\hibernate-2.1\build.xml:564: Unexpected error
|