Just put this in the jboss part of your build.xml
<ejbdoclet ...
<jboss
datasource = "java:/MSSQLDS"
datasourcemapping = "MS SQLSERVER2000"
/>
</ejbdoclet>
----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: 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