
| Key: |
XDT-883
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Won't Fix
|
| Priority: |
Minor
|
| Assignee: |
Eric Pugh
|
| Reporter: |
Matt Raible
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows XP, JDK 1.4.2, Ant 1.6.1
|
|
|
Using the latest stuff from CVS, if I don't have the ejb module in my classpath, when I try to run <hibernatedoclet> - I get the following error:
Couldn't find the class xdoclet.modules.ejb.EjbDocletTask on the classpath
I searched through and couldn't find anywhere where Hibernate's XDoclet code depends on ejbdoclet. Any ideas?
Here's my target that fails at the "xdoclet.force" line:
<target name="hibernatedoclet" depends="init" unless="hibernatedoclet.unnecessary"
description="Generate Persistence and form classes">
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="xdoclet.classpath"/>
<mkdir dir="${build.dir}/dao/gen"/>
<!-- generate hibernate files -->
<hibernatedoclet
destdir="${build.dir}/dao/gen"
mergedir="metadata/dao"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
force="${xdoclet.force}">
<fileset dir="src/dao"/>
<hibernate validatexml="true" version="2.0"/>
</hibernatedoclet>
</target>
|
|
Description
|
Using the latest stuff from CVS, if I don't have the ejb module in my classpath, when I try to run <hibernatedoclet> - I get the following error:
Couldn't find the class xdoclet.modules.ejb.EjbDocletTask on the classpath
I searched through and couldn't find anywhere where Hibernate's XDoclet code depends on ejbdoclet. Any ideas?
Here's my target that fails at the "xdoclet.force" line:
<target name="hibernatedoclet" depends="init" unless="hibernatedoclet.unnecessary"
description="Generate Persistence and form classes">
<taskdef
name="hibernatedoclet"
classname="xdoclet.modules.hibernate.HibernateDocletTask"
classpathref="xdoclet.classpath"/>
<mkdir dir="${build.dir}/dao/gen"/>
<!-- generate hibernate files -->
<hibernatedoclet
destdir="${build.dir}/dao/gen"
mergedir="metadata/dao"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
force="${xdoclet.force}">
<fileset dir="src/dao"/>
<hibernate validatexml="true" version="2.0"/>
</hibernatedoclet>
</target> |
Show » |
|
commons-collections
commons-logging
log4j
xdoclet-1.2.1
xdoclet-hibernate-module-1.2.1
xdoclet-xdoclet-module-1.2.1
xjavadoc-1.0.3.
I seem to recall that in older versions of xdoclet the ejbdoclet was required...?
Eric Pugh