I did this by specifying a mergeDir in my ant build file, and then place whatever you want in the <defaults> section of your jbosscmp-jdbc.xml in the jbosscmp-jdbc-defaults.xml merge file.
I hope this helps.
Dean
----Original Message Follows---- From: "Fee Ling Chin" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [Xdoclet-user] xdoclet newbie question Date: Tue, 3 Jun 2003 15:30:25 -0600
Hello,
I would like to use xdoclet to create the following in jbosscmp-jdbc.xml: <jbosscmp-jdbc>
<defaults>
<datasource>java:/MSSQLDS</datasource>
<datasource-mapping>MS SQLSERVER2000</datasource-mapping>
</defaults>.... </jbosscmp-jdbc>
Could some tell me how I can put the info under the "defaults" tag? I tried to put the datasource info under the jboss.persistence tag in my entity bean code but it ended up inside the <entity> tag rather than the <defaults>.
Thanks, Fee
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
