Post by Jérôme BERNARDPost by Bordet, SimoneJerome, what's your opinion ?
Moving the templates in XDoclet could be a good option. However, I have
seen that there is already a JMX template (that is generating
interfaces) but I found it too simple. I was thinking somehow of
replacing it with the one I have written, but the mbean-description.j
template generating mbean descriptions is specific to OpenJMX. The only
OpenJMX "independant" templates could be the one generating the
interface and a new one (that I am writing) generating the Mlet file
(with a merge between multiple MBean mlet descriptions).
I dont see any problems with replacing the vendor-neutral templates with ones you've developed. afaik the templates currently there
were done by Rickard, but haven't had a huge amount of work. As long as what you've done provides for everything currently there,
its a no-issue. We then just have a vendor section for the openjmx specific ones (as we do for the various ejb container
templates).
Post by Jérôme BERNARDRegarding the problem Ara exposed about compilation, I have noticed that
there is already a jmxri.jar file in CVS. So why no replacing it with
openjmx.jar?
yeah, no problem there. from what I've read on this list, almost everything (excluding bugs in the RI) that runs on the RI, runs on
openjmx.
Post by Jérôme BERNARDWhat I do not really like is that if XDoclet embeds OpenJMX (in order to
compile some samples) and if OpenJMX embeds XDoclet, we will make the
users wondering which versions they are using. It would even make things
more complicated for updating both projects regarding a new version of
the other.
yes - big problem then. would you want to be including xdoclet in your dist? the other option is to have no jars anywhere (in
distributions). so for xdoclet (I haven't proposed this recently, although the issue has been discussed a few times), we have the
openjmx jar in cvs, but not in a release, and then tell people that they need to get whatever jars they need for compiling generated
code (same goes for struts, webwork, castor, etc. etc.).
I'm tied up this weekend, but if you guys are ready next weekend, I'll have a look at getting things into xdoclet.
glad to see two projects working together so well (o:
cheers
dim