Grab the xdoclet source, I'm using xdoclet-1.2.3.
Edit method public String serviceClassName(Properties attributes)
of file HibernateTagsHandler.java
in directory modules/hibernate/src/xdoclet/modules/hibernate
from
Code:
public String serviceClassName(Properties attributes)
{
if ("1.1".equals(getHibernateSubTask().getVersion()))
return "cirrus.hibernate.jmx.HibernateService";
else
return "net.sf.hibernate.jmx.HibernateService";
}
to
Code:
public String serviceClassName(Properties attributes)
{
if ("1.1".equals(getHibernateSubTask().getVersion()))
return "cirrus.hibernate.jmx.HibernateService";
else
return "org.hibernate.jmx.HibernateService";
}
then go to the root of the source tree and run ant
You should now have a proper xdoclet-hibernate-module-1.2.3.jar
You could probably add some more kinky version checking, but I'm not going back to hibernate2 so this is good enough for me.
Regards,
Conrad