'typemapping' and 'datasourcemapping' are the same thing. 'typemapping' has been deprecated. So, when 'typemapping' occurs after 'datasourcemapping' it overrides what you put into 'datasourcemapping'.
Simply remove 'typemapping="true"' and you'll be good-to-go. Michael > -----Original Message----- > From: Dennis R. Gesker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 11:28 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] datasourceMapping true ? > > > XDoclet seems to be having trouble with datasource mapping in > the jboss > task. Below is my task and the resulting XML generated. > <datasource-mapping> is populated with the word true instead of the > string "PostgreSQL 7.2". Is this a know issue or did I miss something? > > > <jboss version="3.0" > destdir="${build}/marketing/META-INF" > datasource="java:jdbc/PostgresDS" > datasourcemapping="PostgreSQL 7.2" > preferredRelationMapping="foreign-key" > createTable="true" > removeTable="true" > generateRelations="true" > typemapping="true" > mergeDir="${merge}" > validateXML="false" > /> > > <defaults> > <datasource>java:jdbc/PostgresDS</datasource> > <datasource-mapping>true</datasource-mapping> > <create-table>true</create-table> > <remove-table>true</remove-table> > > <preferred-relation-mapping>foreign-key</preferred-relation-mapping> > </defaults> > > Thanks in Advance, > Dennis > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Does your code think in ink? > You could win a Tablet PC. Get a free Tablet PC hat just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
