I resolved it by hacking the JBOSS XDoclet definition (in the jboss_xml.xdt 
file in the plugins\sf.net.xdoclet_1.2.1\xdoclet-jboss-module-1.2.1.jar JAR)

The steps to make these changes:
1. Unpack the jar file into a temporary directory (e.g., c:\data\temp).
2. Edit the file jboss_xml.xdt as below.
3. Repack the jar file (ensuring the META-INF directory is also packed):        
jar ?cvf xdoclet-jboss-module-1.2.1.jar META-INF xdoclet 
4. Put the file into the C:\data\eclipse\plugins\sf.net.xdoclet_1.2.1 folder, 
overwriting the existing one.

Changes to the jboss_xml.xdt file:
---------------------------------------
In the section headed:
<XDtConfig:ifConfigParamGreaterOrEquals paramName="Version" value="3.2">

Change the code within the <ejb-local-ref> tagset to read:

  |             <ejb-ref-name><XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="ref-name"/></ejb-ref-name>
  |             <local-jndi-name>ejb/<XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="jndi-name"/></local-jndi-name>
  | 

In the section headed:
<XDtClass:forAllClassTags tagName="jboss:ejb-ref-jndi">

Change the code within the <ejb-ref> tagset to read:

  |             <ejb-ref-name><XDtClass:classTagValue 
tagName="jboss:ejb-ref-jndi" paramName="ref-name"/></ejb-ref-name>
  |             <jndi-name>ejb/<XDtClass:classTagValue 
tagName="jboss:ejb-ref-jndi" paramName="jndi-name"/></jndi-name>
  | 

Immediately after the close tag for the above section:
</XDtClass:forAllClassTags>

Insert this new code:

  |         <XDtConfig:ifConfigParamGreaterOrEquals paramName="Version" 
value="3.2">
  |         <XDtClass:forAllClassTags tagName="jboss:ejb-local-ref">
  |          <ejb-local-ref>
  |             <ejb-ref-name><XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="ref-name"/></ejb-ref-name>
  |             <local-jndi-name>ejb/<XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="jndi-name"/></local-jndi-name>
  |          </ejb-local-ref>
  |         </XDtClass:forAllClassTags>
  |         </XDtConfig:ifConfigParamGreaterOrEquals>
  | 

Further down in the section headed:
<XDtClass:forAllClassTags tagName="jboss:ejb-ref-jndi">

Change the code within the <ejb-ref> tagset to read:

  |             <ejb-ref-name><XDtClass:classTagValue 
tagName="jboss:ejb-ref-jndi" paramName="ref-name"/></ejb-ref-name>
  |             <jndi-name>ejb/<XDtClass:classTagValue 
tagName="jboss:ejb-ref-jndi" paramName="jndi-name"/></jndi-name>
  | 

Just after the close tag for the above section:
</XDtClass:forAllClassTags>

Insert this code:

  |         <XDtConfig:ifConfigParamGreaterOrEquals paramName="Version" 
value="3.2">
  |         <XDtClass:forAllClassTags tagName="jboss:ejb-local-ref">
  |          <ejb-local-ref>
  |             <ejb-ref-name><XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="ref-name"/></ejb-ref-name>
  |             <local-jndi-name>ejb/<XDtClass:classTagValue 
tagName="jboss:ejb-local-ref" paramName="jndi-name"/></local-jndi-name>
  |          </ejb-local-ref>
  |         </XDtClass:forAllClassTags>
  |         </XDtConfig:ifConfigParamGreaterOrEquals>
  | 

If all this is too hard, I have done this and can make the corrections 
available to you.  Strictly on the basis of NO WARRANTY - YOUR RISK.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870301#3870301

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870301


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to