On Mon, 2003-07-28 at 20:25, Brian Towles wrote:
> xdoclet 1.2b3
> maven 1.0-beta-10
> 
> Im trying to run the ejbdoclet task in maven and am having some issues.
> 
> The ejbdoclet task doesnt seem to be picking up the EJB.
> 
> Ive debuged the code enough to know that the fileset is correct and has
> found the EJB.  As well i placed echos in the plugin.jelly to see that
> is actually proccessing the various sections of the ejbdoclet task.
> 
> For some reason it just doesnt seem to take the .java file as an ejb.  I
> ran the same class via ant in 1.0 xdoclet and it gens fine.

What have you got for dependencies in project.xml ... there are some
issues with dependencies with XDoclet - I ended up adding xdoclet,
xdoclet-xdoclet-module, xdoclet-ejb-module, xdoclet-web-module,
xdoclet-jboss-module, xdoclet-jmx-module,xjavadoc. At one point I was
missing webdoclet (even though I wasn't using it) and it was just
exiting the xdoclet task saying nothing - can't remember whether this
was when I introduced the jboss module or not.


> project.properties
> -------------------------
> maven.xdoclet.ejbdoclet.ejbSpec="2.0"
> maven.xdoclet.ejbdoclet.force="true"
> maven.xdoclet.ejbdoclet.verbose="true"
> maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
> maven.xdoclet.ejbdoclet.fileset.0=true
> maven.xdoclet.ejbdoclet.fileset.0.dir=${maven.src.dir}
> maven.xdoclet.ejbdoclet.fileset.0.include=com/flytechnology/prototype/**/*
> 
> maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
> maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF
> 
> maven.xdoclet.ejbdoclet.entitybmp.0=false
> maven.xdoclet.ejbdoclet.entitycmp.0=false
> maven.xdoclet.ejbdoclet.entitypk.0=false
> maven.xdoclet.ejbdoclet.session.0=false
> maven.xdoclet.ejbdoclet.utilobject.0=false
> 
> maven.xdoclet.ejbdoclet.homeinterface.0=true
> maven.xdoclet.ejbdoclet.localhomeinterface.0=true
> maven.xdoclet.ejbdoclet.localinterface.0=true
> maven.xdoclet.ejbdoclet.remoteinterface.0=true

Similar to what I have.

> Sample Bean
> ------------------------------
> package com.flytechnology.prototype.ejb;
> 
> import javax.ejb.SessionBean;
> import javax.ejb.CreateException;
> import javax.ejb.SessionContext;
> 
> 
> /**
>  * Class TestSessionBean
>  *
>  * @author $Author$
>  * @version $Revision$
>  *
>  * @ejb:bean        name="TestSession"
>  *                  display-name="Test Sesson EJB"
>  *                  type="Stateless"
>  *                  transaction-type="Container"
>  *                  jndi-name="prototype.ejb.TestSessionHome"
>  *                  local-jndi-name="prototype.ejb.TestSessionLocalHome"
>  *                  view-type="both"
>  *
>  * @ejb.transaction type="NotSupported"
>  *
>  */
> public class TestSessionBean implements SessionBean

No obvious problems there either.


-- 
Andy


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to