Howdy all

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.

Any Help would be appreciated.

Thanks
-=Brian


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


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
{
    protected SessionContext      ctx;

    /**
     * @ejb.interface-method view-type="both"
     */
    public String testFunction()
    {
            return "TEST!!!!!!";
    }

    /**
     * Method ejbCreate
     *
     *
     * @throws CreateException
     *
     * @ejb.create-method
     */
    public void ejbCreate()
        throws CreateException {}

    /**
     * Method ejbActivate
     *
     *
     *
     */
    public void ejbActivate() {}

    /**
     * Method ejbRemove
     *
     *
     *
     */
    public void ejbRemove() {}

    /**
     * Method ejbPassivate
     *
     *
     *
     */
    public void ejbPassivate() {}

    /**
     * Sets the session context.
     *
     * @param ctx               SessionContext Context for session
     */
    public void setSessionContext(SessionContext ctx)
    {
        this.ctx = ctx;
    }
}


-- 
Brian Towles <[EMAIL PROTECTED]>



-------------------------------------------------------
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