On Sat, 2003-07-12 at 00:40, Wes Kubo wrote:
> I can't for the life of me figure out how to name ocj4 merge files. I'm
> trying to create a  oc4j-{0}-settings.xml file for one of my beans and I
> can't figure out what should go in place of {0}. I know the merge directory
> is ok because I created an oc4j-assembly-descriptor.xml file that is being
> added correctly to the orion-ejb-jar.xml file. I've tried every variation
> and I can't figure it out. I assume it should use the "name" attribute in
> the session-deployment tag (e.g. OrderController) but
> oc4j-OrderController-settings.xml isn't being merged in. I've got a lone
> resource-ref-mapping in the merge file. I'm sure its something small but I
> just can't figure it out.

It's either the bean name or class name, can't remember which offhand. 
However, the trick you're probably missing is that the per-bean merge
files have to use the same package hierarchy below the mergedir root as
the original beans are using.  If you just put them directly in the
mergedir then they won't be found.  This is to avoid name clashes; you
could theoretically have beans/classes of the same name in more than one
package, and we need to be able to tell their merge files apart.  So in
your case, make sure the merge file is at
$mergedir/com/foobar/whatever/oc4j-OrderController-settings.xml
and not
$mergedir/oc4j-OrderController-settings.xml
The merge points that only use a single file rather than one per bean
(e.g. oc4j-assembly-descriptor.xml) should go directly into the
mergedir, as you've observed.


Andrew.



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to