From: Fredrik A. <fre...@ho...> - 2008-03-31 06:47:49
|
Hello!Thanks for your reply!I tried what you suggets, added my weblogic.jar (including javax.ejb) to the classpath in the target: <taskdef classname="xdoclet.modules.ejb.EjbDocletTask" name="ejbdoclet" classpath="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 tags in ejb-jar.xml looks like: <enterprise-beans> <!-- Session Beans --> <!-- To add session beans that you have deployment descriptor info for, add a file to your XDoclet merge directory called session-beans.xml that contains the <session></session> markup for those beans. --> <!-- Entity Beans --> <!-- To add entity beans that you have deployment descriptor info for, add a file to your XDoclet 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 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. --> </enterprise-beans> The weblogic.jar is also added to my ant-run-task in eclipse. If you got any suggetstions do not hesitate, every comment is most welcome. /Fredrik> Date: Sun, 30 Mar 2008 23:02:41 -0700> From: kpr...@ya...> To: xdo...@li...> Subject: Re: [Xdoclet-user] Is the mergeDir mandatory for ejbdoclet?> > > --- Fredrik Andersson <fre...@ho...>> wrote:> > > > > Hello!> > > > My ejb-jar.xml and weblogic-ejb-jar.xml does not get> > populated at all.> > > > It just says (in weblogic-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 / m2 plugin. Otherwise > it will be unable to tell whatclasses are to be> processed> > 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 deal for Yahoo! users and friends. > http://tc.deals.yahoo.com/tc/blockbuster/text1.com> > -------------------------------------------------------------------------> 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> _______________________________________________> xdoclet-user mailing list> xdo...@li...> https://lists.sourceforge.net/lists/listinfo/xdoclet-user _________________________________________________________________ Mörkt och kallt? Kanske Barcelona? http://search.live.com/results.aspx?q=Barcelona+reseguide&form=QBRE |