Dim, Thanks, thanks, thanks! In general, that helps a lot. I'll be able to make better progress with merging now. Unfortunately, for my present task, I don't think I have all the information that I need.
What I need to do is insert the element: <validate-db-schema-with>MetaData</validate-db-schema-with> into my weblogic-cmp-rdms-jar.xml file immediately after the element <create-default-dbms-tables>False</create-default-dbms-tables> The parent of the create-default-dbms-tables and validate-db-schema-with elements is weblogic-rdbms-jar. Since my merged element isn't related to a particular Bean, I don't know what to name the merge file. The docs only refer to a merge relative to a specific session bean (test.ejb.SessionBean). Hopefully, what I want to do is do-able. I would be very grateful for another push in the right direction. Thanks, again. Chuck >-----Original Message----- >From: dim [mailto:dim@;bigpond.net.au] >Sent: Sunday, November 03, 2002 4:11 PM >To: Chuck.R.Irvine; rsal; xdoclet-user >Subject: Re: [Xdoclet-user] help with merge points? > > >I'll take a stab at joining this mid-thread... > >> What files do you refer to with "the generate xml files"? > >I'm guessing he means ejb-jar.xml, web.xml and the app-server >specific xml >deployment descriptors (DDs). What he's saying, is that if >you open them, >there are useful comments for how to use merges in them. > >> What does the notation "{0}" mean in "ejb-env-entries-{0}.xml"? I had >> not encountered this notation prior to looking into XDoclet. > >if you have a bean > > com.mycompany.ejb.MyBean > >then have a file > > mergedir/com/mycompany/ejb/ejb-env-entries-MyBean.xml > >and its contents will be placed in the appropriate place in ejb-jar.xml > >> How do you know which *.xdt files are templates for which deployment >> descriptors? > >this is a tricki(er) one (o: There's no hard and fast rule, >but most of >them a apparent (although not obvious). For example, have a look at >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/ >modules/ejb/s >rc/xdoclet/modules/ejb/dd/resources/ and you'll see the >various templates in >use for ejb-jar.xml. These are complicated, and so use 'include' style >functionality.... > >> How was the file name "ejb-env-entries-SessionBean.xml" arrived at? > >Hopefully the above answers this. Its based on the name of your bean. > >hth, also hope I haven't trodden on toes (o: > >cheers >dim > > > >------------------------------------------------------- >This SF.net email is sponsored by: ApacheCon, November 18-21 in >Las Vegas (supported by COMDEX), the only Apache event to be >fully supported by the ASF. http://www.apachecon.com >_______________________________________________ >Xdoclet-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
