Peter,

 

I had a few problems with 0.2 myself, but there is a 0.3 available that seems to work just fine (you can get it at http://www.dreambean.com)

 

-Jason

 

 

Peter Tillemans <[EMAIL PROTECTED]>
09/22/2000 12:50 AM GMT
Please respond to jBoss

To: jBoss <[EMAIL PROTECTED]>
cc:
bcc:
Subject: [jBoss-User] Little fix for EJBDoclet



Hi,

I had some trouble with the generated ejb-jar.xml from EJBDoclet-0.2.
The <method> sections were not properly terminated with a </method> tag.

This fixed it for me :

@@ -342,7 +342,7 @@
               out.println("         <method>");
               out.println("
<ejb-name>"+ejbName+"</ejb-name>");
               out.println("            <method-name>*</method-name>");

-               out.println("         <method>");
+               out.println("         </method>");
               out.println("      </method-permission>");
            }

@@ -390,7 +390,7 @@
               out.println("         <method>");
               out.println("
<ejb-name>"+ejbName+"</ejb-name>");
               out.println("            <method-name>*</method-name>");

-               out.println("         <method>");
+               out.println("         </method>");
               out.println("
<trans-attribute>"+currentClass.tags("transaction")[0].text()+"</trans-attribute>");

               out.println("      </container-transaction>");
            }


--
Peter Tillemans





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

-- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]

Reply via email to