On Tue, 2003-12-09 at 19:16, Roland wrote: > When merging using hibernatedoclet, with a custom > jboss-service-custom.xdt that contains the following: > > <depends>jboss.jca:service=LocalTxCM,name=MySqlDS</depends> > > The resulting jboss-service.xml has the depends element outside the > target mbean. We want this inside.
My first thought was that the jboss-service-custom.xdt merge point was intended for including additional mbeans not being processed by xdoclet, like the jboss-service.ent merge point in the jboss module's service subtask. However, the hibernate one looks like it only handles a single class anyway, it doesn't appear to do any looping, so I'm not sure why it would need such a merge point. At any rate, if you want another merge point adding within the mbean element, or the existing one moving, I suggest you raise an enhancement request in JIRA. > Iʼve read that this is somewhat fixed in the CVS version, however, it > only addresses the depends element for the datasource. Wonʼt there be > instances where weʼd want additional elements to be merged in the > correct location? Can anyone clarify this? You can put whatever you like in the depends config parameter, it doesn't necessarily have to be the datasource. The main limitation I can see is that it only appears to cater for a single depends parameter. If you need more that one, then again I suggest you raise an enhancement request. Alternatively, you could try out the JBoss module's own service task. That's more flexible (for one thing, it allows for multiple depends elements using jboss.depends tags); the hibernate one is just a simplified version, which specifies a bunch of default values and re-uses the hibernate tags to save you also having to add jboss tags to your classes. Andrew. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
