1 Reply Latest reply on Jul 1, 2005 7:02 AM by metatom

    Xdoclet XMBean generation exception

    metatom

      Hi all,

      Trying to get Xdoclet to do some work for me again when i get this:-
      [jmxdoclet] xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: forAllClassTags, line=18 of template file: jar:file:/opt/eclipse/plugins/org.jboss.ide.eclipse.xdoclet.core_1.4.1.e30/xdoclet-jboss-module-1.2.1.jar!/xdoclet/modules/jboss/jmx/resources/jbossmx-xml-descriptor.xdt, exception: null
      [jmxdoclet] at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:542)
      [jmxdoclet] at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:959)
      [jmxdoclet] at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:926)
      [jmxdoclet] at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:466)


      Am trying to get it to generate the name-service.xml XMBean description. Its quite happy until i specify an output file in the jbossxmbean element of my JMX doclet. Can anyone surgest a solution to this? or/and can anyone point me to a doc that actually tells you how to use the XDoclet in eclipse in detail. Xdoclet seems to (says it has) loads of potental to be really useful to me, but i just can get it do anything outside of the basic JBossIDETutorial, which just leads you by the hand though it.

      Any thoughts/ideas/criticisms welcome

      Cheers
      Tom

        • 1. Re: Xdoclet XMBean generation exception
          metatom

          Don't know if this helps, but it gets this is the xml it manages to produce in the specified file before the exception.

          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd">
          
          <mbean>
           <descriptors>
           <persistence/>


          Hav run the updater so hav the lastest version of the JBossIDE.