-
1. Re: xdoclet support for clustered
Oskari Kettunen Aug 14, 2002 6:25 PM (in response to seanxu)Hello,
I've come to notice most of JBoss3.x features are not supported by
xdoclet at the moment. So I've hacked little workarounds here and there during
my current project. (I was planning to submit them to xdoclet-devel, but time
to sort the hacks out eludes me...)
Anyway, this worked for me: I added this bit to jboss_xml.xdt
--
<XDtClass:ifHasClassTag tagName="jboss:clustered">
True
<cluster-config>
<partition-name>@PartitionName@</partition-name>
</cluster-config>
</XDtClass:ifHasClassTag>
--
where @PartitionName@ is replaced by Ant filtering prior to ejbdoclet. The name
could just as well come from a
--
<XDtClass:classTagValue tagName="jboss:clustered" paramName="partition-name"/>
--
but then you'd need to have the name all over your sourcecode (and maybe filter
it from there).
I hope this helps at least some...
Oskari Kettunen, Finland -
4. Re: xdoclet support for clustered
Thimo Koenig Sep 10, 2002 8:38 AM (in response to seanxu)Does anyone know when jboss/clustering will be supported by XDoclet?
Thanks
Thimo -
5. Re: xdoclet support for clustered
seanxu Sep 17, 2002 4:54 PM (in response to seanxu)thank you, Oskari, I will give it a try.
-
6. Re: xdoclet support for clustered
Sacha Labourey Sep 24, 2002 8:20 AM (in response to seanxu)Thank you for the patch.