Chuck, > 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.
np... here to help (o: > 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). ok, what I'm about to say is what the previous poster was trying to get at.... not being a weblogic user, I'm not sure how much help I'll be, but I'll have a go... (I'm also assuming you're using the 1.2beta or cvs) ok, I'm not sure where in the template we're talking about - sorry, here's what I'd suggest doing: 1. figure out which template it is you're using - have a look at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/bea/s rc/xdoclet/modules/bea/wls/ejb/resources/ and hopefully your knowledge of weblogic will help you where my ignorance hindered me! 2. look for the <validate-db-schema-with> element 3. look for a <XDtMerge:merge> tag enclosing the element given that the docs dont have it, there's a fair chance it isn't done. depending on how you rate your ability/time availability, you could have a read of http://xdoclet.sourceforge.net/1.2beta/development/architecture.html and have a look at making a patch for tihs yourself - the sort of thing you're talking about is relatively easy to do, and there are numerous examples in the code (have a look at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/ejb/s rc/xdoclet/modules/ejb/dd/resources/ejb-jar_xml.xdt?rev=1.5&content-type=tex t/vnd.viewcvs-markup for examples in ejb-jar.xml). alternatively, one of the weblogic developers on the list might help you (o: hth cheers dim > > 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
