The first bit (description for the whole DD) can be done via the ant task, since it's not specific to any source file.

See http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/ejb/dd/ EjbDotXmlSubTask.html

On Sep 16, 2005, at 4:10 PM, Wierenga, R. - SPLXE wrote:

Guys & Girls (still hoping an actual girl would be on this newsgroup),



I use the ejbdoclet task to generate my ejb artifacts.



It’s all fine and dandy.... EXCEPT!

My ejb-jar.xml file contains the following line: <display- name>Generated by XDoclet</display-name>

And i want to be able to change “Generated by Xdoclet” to RpslServiceBean.



But how? I’ve already set the following tags for my class:



* @ejb.bean name="RpslService" type="Stateless"

 *                 display-name="RpslServiceBean"

 *                 description="RPSL Service provisioning."

 *           jndi-name="ejb/com/rpsl/service/ejb/RpslServiceHome"

 *           impl-class-name="com.rpsl.service.ejb.RpslServiceBean"





And here’s the fragment it generates:



<ejb-jar id="ejb-jar_1">



   <description><![CDATA[No Description.]]></description>

   <display-name>Generated by XDoclet</display-name>



   <enterprise-beans>



      <!-- Session Beans -->

      <session id="Session_RpslService">

<description><![CDATA[RPSL Service provisioning.]]></ description>

         <display-name>RpslServiceBean</display-name>



... more stuff here





Now notice the presence of the two display-names. This is not a copy-paste mistake. But I somehow need to manipulate the first name in order for my automatic webpsphere deployment script to function.



Any help is greatly appreciated.



Kind regards,

Robin Wierenga





**********************************************************************
For information, services and offers, please visit our web site: http://wwwklm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
**********************************************************************



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to