Is the mergeDir mandatory for ejbdoclet?

Fredrik Andersson <[email protected]> Sun, 30 Mar 2008 19:21:38 +0000
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
--===============2039604219==
Content-Type: multipart/alternative;
	boundary="_a68a754f-938f-492a-a02d-9c4fa21b89c4_"

--_a68a754f-938f-492a-a02d-9c4fa21b89c4_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello!
=20
My ejb-jar.xml and weblogic-ejb-jar.xml does not get populated at all.
=20
It just says (in weblogic-ejb-jar.xml )
=20
<!-- To add enterprise beans that you have deployment descriptor info for, =
add a file to your XDoclet merge directory called weblogic-enterprise-beans=
.xml that contains the <weblogic-enterprise-bean></weblogic-enterprise-bean=
> markup for those beans. -->=20
=20
And (in ejb-jar.xml)=20
      <!-- Message Driven Beans -->     <!--       To add message driven be=
ans that you have deployment descriptor info for, add       a file to your =
XDoclet merge directory called message-driven-beans.xml that contains      =
 the <message-driven></message-driven> markup for those beans.     -->
=20
My MDB looks like:
package org.javatx.mdb;

/**
* SimpleMdb
*=20
* @ejb.bean=20
* name=3D"org.javatx.mdb.SimpleMdb"=20
* type=3D"MDB"
* destination-type=3D"javax.jms.Queue"=20
* transaction-type=3D"Bean"
*=20
* @weblogic.pool=20
* initial-beans-in-free-pool=3D"1"=20
* max-beans-in-free-pool=3D"1"
*=20
* @weblogic.message-driven=20
* connection-factory-jndi-name=3D"jms/res/RESJMSConnectionFactory"
* destination-jndi-name=3D"jms/res/RESUtJMSQueue"
* jms-polling-interval-seconds=3D"10"
*=20
* @ejb.env-entry
* name=3D"BeanFactoryPath"=20
* value=3D"applicationContext.xml"
*/
public class SimpleMdb extends MessageDataDrivenBean {

protected String getName() {
return "simpleProcessor";
}

}
=20
The example at http://xdoclet.sourceforge.net/xdoclet/using.html does not m=
ention anything about merge.
=20
So if any one got any idea please let me know.
Fredrik
_________________________________________________________________
Spara, redigera och organisera dina foton enkelt med Photo Gallery!
http://get.live.com/photogallery/overview=

--_a68a754f-938f-492a-a02d-9c4fa21b89c4_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>
Hello!<BR>
&nbsp;<BR>
My ejb-jar.xml and weblogic-ejb-jar.xml does not get populated at all.<BR>
&nbsp;<BR>
It just says (in weblogic-ejb-jar.xml )<BR>
&nbsp;<BR>
&lt;!-- <BR>To add enterprise beans that you have deployment descriptor inf=
o for, add <BR>a file to your XDoclet merge directory called weblogic-enter=
prise-beans.xml that contains <BR>the &lt;weblogic-enterprise-bean&gt;&lt;/=
weblogic-enterprise-bean&gt; markup for those beans. <BR>--&gt; <BR>
&nbsp;<BR>
And (in ejb-jar.xml)&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Message Driven Beans --&gt;<BR>&nbsp=
;&nbsp;&nbsp;&nbsp; &lt;!--<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To add =
message driven beans that you have deployment descriptor info for, add<BR>&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a file to your XDoclet merge directory =
called message-driven-beans.xml that contains<BR>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; the &lt;message-driven&gt;&lt;/message-driven&gt; markup for tho=
se beans.<BR>&nbsp;&nbsp;&nbsp;&nbsp; --&gt;<BR>
&nbsp;<BR>
My MDB looks like:<BR><B><FONT color=3D#7f0055 size=3D2>
<P align=3Dleft>package</B></FONT><FONT size=3D2><FONT color=3D#000000> org=
.javatx.mdb;</FONT></P>
<P align=3Dleft><FONT color=3D#000000></FONT></P></FONT><FONT color=3D#3f5f=
bf size=3D2>
<P align=3Dleft>/**</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>SimpleMdb</P></FONT><FONT size=3D2=
>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><B><FONT color=3D#7f9fbf size=3D2>@ejb.bean</B></FONT><FONT size=
=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>name=3D"org.javatx.mdb.SimpleMdb"<=
/FONT><FONT size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>type=3D"MDB"</P></FONT><FONT size=
=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>destination</FONT><FONT color=3D#7=
f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>type=3D"javax.jms.Que=
ue"</FONT><FONT size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>transaction</FONT><FONT color=3D#7=
f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>type=3D"Bean"</P></FO=
NT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><B><FONT color=3D#7f9fbf size=3D2>@weblogic.pool</B></FONT><FONT =
size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>initial</FONT><FONT color=3D#7f7f9=
f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>beans</FONT><FONT color=
=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>in</FONT><FONT c=
olor=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>free</FONT><=
FONT color=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>pool=
=3D"1"</FONT><FONT size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>max</FONT><FONT color=3D#7f7f9f si=
ze=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>beans</FONT><FONT color=3D#7f=
7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>in</FONT><FONT color=
=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>free</FONT><FONT=
 color=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>pool=3D"1"=
</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><B><FONT color=3D#7f9fbf size=3D2>@weblogic.message</B></FONT><FO=
NT color=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>driven</=
FONT><FONT size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>connection</FONT><FONT color=3D#7f=
7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>factory</FONT><FONT co=
lor=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>jndi</FONT><F=
ONT color=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>name=3D=
"jms/res/RESJMSConnectionFactory"</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>destination</FONT><FONT color=3D#7=
f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>jndi</FONT><FONT colo=
r=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>name=3D"jms/res=
/RESUtJMSQueue"</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>jms</FONT><FONT color=3D#7f7f9f si=
ze=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>polling</FONT><FONT color=3D#=
7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>interval</FONT><FONT=
 color=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>seconds=3D=
"10"</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><B><FONT color=3D#7f9fbf size=3D2>@ejb.env</B></FONT><FONT color=
=3D#7f7f9f size=3D2>-</FONT><FONT color=3D#3f5fbf size=3D2>entry</P></FONT>=
<FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>name=3D"BeanFactoryPath"</FONT><FO=
NT size=3D2> </P>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*</FONT><FONT size=3D=
2> </FONT><FONT color=3D#3f5fbf size=3D2>value=3D"applicationContext.xml"</=
P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#3f5fbf size=3D2>*/</P></FONT><B><FONT=
 color=3D#7f0055 size=3D2>
<P align=3Dleft>public</B></FONT><FONT color=3D#000000 size=3D2> </FONT><B>=
<FONT color=3D#7f0055 size=3D2>class</B></FONT><FONT color=3D#000000 size=
=3D2> SimpleMdb </FONT><B><FONT color=3D#7f0055 size=3D2>extends</B></FONT>=
<FONT size=3D2><FONT color=3D#000000> MessageDataDrivenBean {</FONT></P>
<P align=3Dleft><FONT color=3D#000000></FONT></P>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2>protected</B></FON=
T><FONT size=3D2> String getName() {</P>
<P align=3Dleft></FONT><B><FONT color=3D#7f0055 size=3D2>return</B></FONT><=
FONT size=3D2> </FONT><FONT color=3D#2a00ff size=3D2>"simpleProcessor"</FON=
T><FONT size=3D2>;</P>
<P align=3Dleft>}</P>
<P align=3Dleft></P>
<P align=3Dleft>}</P>
<P align=3Dleft>&nbsp;</P>
<P align=3Dleft>The example at <A href=3D"http://xdoclet.sourceforge.net/xd=
oclet/using.html">http://xdoclet.sourceforge.net/xdoclet/using.html</A>&nbs=
p;does not mention anything about merge.</P>
<P align=3Dleft>&nbsp;</P>
<P align=3Dleft>So if any one got any idea please let me know.</P>
<P align=3Dleft>Fredrik</P></FONT><br /><hr />Tokbilliga solresor & gratis =
reseguider! <a href=3D'http://resor.se.msn.com/' target=3D'_new'>MSN Resor<=
/a></body>
</html>=

--_a68a754f-938f-492a-a02d-9c4fa21b89c4_--


--===============2039604219==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--===============2039604219==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

--===============2039604219==--