Re: Is the mergeDir mandatory for ejbdoclet?
Fredrik Andersson <[email protected]> Mon, 31 Mar 2008 06:47:46 +0000
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0956500139== Content-Type: multipart/alternative; boundary="_89e83f1a-1ffa-43de-a039-5a29867254ae_" --_89e83f1a-1ffa-43de-a039-5a29867254ae_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello!Thanks for your reply!I tried what you suggets, added my weblogic.jar= (including javax.ejb) to the classpath in the target: <taskdef=20 classname=3D"xdoclet.modules.ejb.EjbDocletTask" name=3D"ejbdoclet"=20 classpath=3D"xdoclet/lib/xdoclet.jar; xdoclet/lib/log4j.jar; C:/Fredrik/Download/Xdoclet/xdoclet-1.2.3/lib/xdoclet-ejb-module-1.2.3.jar; C:/Fredrik/Eclipse_workspace/lib/weblogic/weblogic.jar" /> But still, the t= ags in ejb-jar.xml looks like: <enterprise-beans> <!-- Session Beans= --> <!-- To add session beans that you have deployment descripto= r info for, add a file to your XDoclet merge directory called session= -beans.xml that contains the <session></session> markup for those bea= ns. --> <!-- Entity Beans --> <!-- To add entity beans t= hat you have deployment descriptor info for, add a file to your XDocl= et merge directory called entity-beans.xml that contains the <entity>= </entity> markup for those beans. --> <!-- Message Driven Beans --= > <!-- To add message driven beans that you have deployment descr= iptor info for, add a file to your XDoclet merge directory called mes= sage-driven-beans.xml that contains the <message-driven></message-dri= ven> markup for those beans. --> </enterprise-beans> The weblogic.jar= is also added to my ant-run-task in eclipse. =20 If you got any suggetstions do not hesitate, every comment is most welcome. /Fredrik> Date: Sun, 30 Mar 2008 23:02:41 -0700> From: [email protected]= > To: [email protected]> Subject: Re: [Xdoclet-user] Is th= e mergeDir mandatory for ejbdoclet?> > > --- Fredrik Andersson <fredand44_j= [email protected]>> wrote:> > > > > Hello!> > > > My ejb-jar.xml and weblog= ic-ejb-jar.xml does not get> > populated at all.> > > > It just says (in we= blogic-ejb-jar.xml )> >> > It's just a hint that there is a merge point. > = > YOu shall nesure that javax,ejb.* is on claspath> of xdoclet ant task / m= 2 plugin. Otherwise > it will be unable to tell whatclasses are to be> proc= essed> > regards,> > ----[ Konstantin Pribluda http://www.pribluda.de ]----= ------------> JTec quality components: http://www.pribluda.de/projects/> > = > _________________________________________________________________________= ___________> No Cost - Get a month of Blockbuster Total Access now. Sweet d= eal for Yahoo! users and friends. > http://tc.deals.yahoo.com/tc/blockbuste= r/text1.com> > ------------------------------------------------------------= -------------> Check out the new SourceForge.net Marketplace.> It's the bes= t place to buy or sell services for> just about anything Open Source.> http= ://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace> _= ______________________________________________> xdoclet-user mailing list> = [email protected]> https://lists.sourceforge.net/lists/lis= tinfo/xdoclet-user _________________________________________________________________ M=F6rkt och kallt? Kanske Barcelona? http://search.live.com/results.aspx?q=3DBarcelona+reseguide&form=3DQBRE= --_89e83f1a-1ffa-43de-a039-5a29867254ae_ 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><BR>Thanks for your reply!<BR><BR>I tried what you suggets, added= my weblogic.jar (including javax.ejb) to the classpath in the target:<BR><= BR><FONT size=3D2> <P align=3Dleft></FONT><FONT color=3D#000080 size=3D2><taskdef</FONT><FO= NT size=3D2> </P> <P align=3Dleft></FONT><FONT color=3D#000080 size=3D2>classname=3D"</FONT><= FONT color=3D#008000 size=3D2>xdoclet.modules.ejb.EjbDocletTask"</P></FONT>= <FONT size=3D2> <P align=3Dleft></FONT><FONT color=3D#000080 size=3D2>name=3D"</FONT><FONT = color=3D#008000 size=3D2>ejbdoclet"</FONT><FONT size=3D2> </P> <P align=3Dleft></FONT><FONT color=3D#000080 size=3D2>classpath=3D"</FONT><= FONT color=3D#008000 size=3D2>xdoclet/lib/xdoclet.jar;</P> <P align=3Dleft>xdoclet/lib/log4j.jar;</P> <P align=3Dleft>C:/Fredrik/Download/Xdoclet/xdoclet-1.2.3/lib/xdoclet-ejb-m= odule-1.2.3.jar;</P> C:/Fredrik/Eclipse_workspace/lib/weblogic/weblogic.jar"</FONT><FONT color= =3D#000000 size=3D2> </FONT><FONT color=3D#000080 size=3D2>/><BR></FONT>= <BR>But still, the tags in ejb-jar.xml looks like:<BR><BR>  = ; <enterprise-beans><BR> <!-- Sessio= n Beans --><BR> <!--<BR> &nb= sp; To add session beans that you have deployment descriptor in= fo for, add<BR> a file to your XDoclet = merge directory called session-beans.xml that contains<BR>  = ; the <session></session> markup for those be= ans.<BR> --><BR> &= lt;!-- Entity Beans --><BR> <!--<BR> &nb= sp; To add entity beans that you have deployment de= scriptor info for, add<BR> a file to yo= ur XDoclet merge directory called entity-beans.xml that contains<BR> &= nbsp; the <entity></entity> markup for = those beans.<BR> --><BR> = <!-- Message Driven Beans --><BR> <= !--<BR> To add message driven beans tha= t you have deployment descriptor info for, add<BR> &= nbsp; a file to your XDoclet merge directory called message-driven-be= ans.xml that contains<BR> the <messa= ge-driven></message-driven> markup for those beans.<BR>  = ; --><BR> </enterprise-beans><BR> <BR= >The weblogic.jar is also added to my ant-run-task in eclipse.<BR> <BR> If you got any suggetstions do not hesitate, every comment is most welcome.= <BR> /Fredrik<BR><BR>> Date: Sun, 30 Mar 2008 23:02:41 -0700<BR>> From: kp= [email protected]<BR>> To: [email protected]<BR>> S= ubject: Re: [Xdoclet-user] Is the mergeDir mandatory for ejbdoclet?<BR>>= <BR>> <BR>> --- Fredrik Andersson <[email protected]&g= t;<BR>> wrote:<BR>> <BR>> > <BR>> > Hello!<BR>> > <= BR>> > My ejb-jar.xml and weblogic-ejb-jar.xml does not get<BR>> &= gt; populated at all.<BR>> > <BR>> > It just says (in weblogic-= ejb-jar.xml )<BR>> ><BR>> <BR>> It's just a hint that there is = a merge point. <BR>> <BR>> YOu shall nesure that javax,ejb.* is on cl= aspath<BR>> of xdoclet ant task / m2 plugin. Otherwise <BR>> it will = be unable to tell whatclasses are to be<BR>> processed<BR>> <BR>> = regards,<BR>> <BR>> ----[ Konstantin Pribluda http://www.pribluda.de = ]----------------<BR>> JTec quality components: http://www.pribluda.de/p= rojects/<BR>> <BR>> <BR>> ________________________________________= ____________________________________________<BR>> No Cost - Get a month = of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. <= BR>> http://tc.deals.yahoo.com/tc/blockbuster/text1.com<BR>> <BR>>= -------------------------------------------------------------------------<= BR>> Check out the new SourceForge.net Marketplace.<BR>> It's the bes= t place to buy or sell services for<BR>> just about anything Open Source= .<BR>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/= marketplace<BR>> _______________________________________________<BR>>= xdoclet-user mailing list<BR>> [email protected]<BR>&g= t; https://lists.sourceforge.net/lists/listinfo/xdoclet-user<BR><BR><br /><= hr />Den perfekta mixen av n=F6jesnyheter & livekonserter! <a href=3D'http:= //video.se.msn.com/v/sv-se/v.htm' target=3D'_new'>MSN Video</a></body> </html>= --_89e83f1a-1ffa-43de-a039-5a29867254ae_-- --===============0956500139== 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 --===============0956500139== 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 --===============0956500139==--