[jboss-user] [JBoss Eclipse IDE (users)] - Re: Building mutiple MDB deployments using xdoclet

kapilanand do-not-reply at jboss.com
Thu Sep 7 15:23:51 EDT 2006


Here is what I finally did to make it work.

Edited the xdoclet-build.xml generated by JBossEclipseIDE.
Added multiple antcall tasks inside "_xdoclet_generation_" target,  to call runEjbDoclet target with different params.
(runEjbDoclet was originally called Nxxxxx in the auto-generated xml, where x is a digit)


   
   <param name="mdb_display_name"value="MyMDBName"/>
   
   
   
   
   


Used destDir="${ejb_gen_dest}" in ejbdoclet task called by runEjbDoclet.

Used the following xdoclet entries in the Bean class.
/**
 * @ejb.bean name="${mdb_name}"  
 *           display-name="${mdb_display_name}"
 *           description="${mdb_description}"
 *           destination-type="${jms_dest_type}"
 *           acknowledge-mode="Auto-acknowledge"
 *           transaction-type="Container"
 * 
 * @ejb:env-entry name="SSBToUse" type="java.lang.String"   
 *                 value="${SSB1_jndi_name}"
 *
 * @jboss.destination-jndi-name name = "${jms_dest_name}"
 */ 

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

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



More information about the jboss-user mailing list