Hi XDoclet users,

I have  problem while generating the description descriptors... I don't know
how to generate the tags <description> and <display-name> of the <ejb-jar>
tag with the content i want. Tags are generated with non-UTF8 characters
which avoid me having an automatic process...

Here is my java source with XDoclet tags


/** Bean de benchmarks
 * 
 * @ejb:bean 
 *      type="Stateless"
 *  name="BusinessBean"
 *  jndi-name="benchmarks.ejb.BusinessBean"
 *  display-name="BusinessBean"
 *  description="My description"
 
 * @ejb.interface
 *  remote-class="benchmarks.ejb.BusinessRemote"
 *  generate="remote"
 * 
 * @ejb.home
 *  remote-class="benchmarks.ejb.BusinessHome"
 *  generate="remote"
 * 
 * BusinessBeanJDoc
 * 
 *
 */

public class BusinessBean implements SessionBean {


...

}


And here is the generated XML :

...
<ejb-jar >

   <description><![CDATA[Sem Descri?.]]></description>
   <display-name>Gerado pelo XDoclet</display-name>

   <enterprise-beans>

      <!-- Session Beans -->
      <session >
         <description><![CDATA[My description]]></description>
         <display-name>BusinessBean</display-name>

         <ejb-name>BusinessBean</ejb-name>

         <home>benchmarks.ejb.BusinessHome</home>
         <remote>benchmarks.ejb.BusinessRemote</remote>
         <local-home>benchmarks.ejb.BusinessBeanLocalHome</local-home>
         <local>benchmarks.ejb.BusinessBeanLocal</local>
         <ejb-class>benchmarks.ejb.BusinessBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>

      </session>
...


As you can see, description tag has ![CDATA[Sem Descri...  With a non -UTF 8
character...

Some knows how to resolve it ?/


Thanks
Olivier.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to