On Thu, 2004-03-04 at 20:58, Andreas Kemkes wrote: > I've been trying to use hibernatedoclet with just a jbossservice nested > element and saw an exception that indicated problems with > XDtHibernate:serviceClassName. Only after including hibernate as > another nested element it would work properly. I do not really need the > hibernate element per se as I am constructing the mapping files using a > different venue. > > My question is: What are the cross-dependencies among the nested elements? > > Also, the generated file uses cirrus.hibernate.jmx.HibernateService > instead of net.sf.hibernate.jmx.HibernateService. How can I make it > use the latter?
Your two problems are related. The <jbossservice> task in the Hibernate module uses the version config parameter that was specified on the <hibernate> subtask in order to decide which of those two packages to use for the HibernateService. The fact that, after adding a <hibernate> subtask, the file was using the wrong one suggests that either you specified the wrong version in that subtask's parameter, or (more likely) you didn't specify any version but the default value it's using was the wrong one. cirrus.hibernate.jmx.HibernateService was the service's class in Hibernate 1.1, but it changed to net.sf.hibernate.jmx.HibernateService in 2.0. So try using <hibernate version="2.0"/> and see if that helps. If that does the trick, you may like to raise an enhancement request in JIRA (http://opensource.atlassian.com/projects/xdoclet/) for the Hibernate module, to allow the <jbossservice> subtask to be run on its own. Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user