hi there ..


im running into problems since a week and just wanted to know if anybody out there had the same problems as me and fixed them ...

i  installed maven ..
the xdoclet plugin ..
and added all dependencies ...

my maven.xml file looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<project default="all"
        xmlns:m="jelly:maven">

   <preGoal name="java:compile">
       <attainGoal name="xdoclet:ejbdoclet"/>
       <attainGoal name="xdoclet:hibernatedoclet"/>
   </preGoal>

   <goal name="all">
       <m:reactor basedir="${basedir}"
                  includes="*/project.xml"
                  goals="java:compile"
                  banner="Building"
                  ignoreFailures="false"/>
   </goal>
</project>

in each subproject ... the plugin would .. if it was working fine .. generate interfaces or a .hbm file for hibernate ..

the project.properties for my ejb-subproject looks like:
#ejbdoclet default properties
maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet

maven.xdoclet.ejbdoclet.fileset.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF

maven.xdoclet.ejbdoclet.entitybmp.0=true
maven.xdoclet.ejbdoclet.entitycmp.0=true
maven.xdoclet.ejbdoclet.entitypk.0=true
maven.xdoclet.ejbdoclet.homeinterface.0=true
maven.xdoclet.ejbdoclet.localhomeinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF

maven.ejb.src=${maven.build.dir}/xdoclet/ejb
# EJB JAR NAME
maven.final.name=sample


although the compiler detects my classes .. their syntax is ok ( xdoclet tags for session beans and hibernate tags ) the xdoclet plugin simply ignores it.

An excerpt of the SampleManagerBean looks like:
/**
* @ejb.bean name="SampleManager"
*    jndi-name="SampleManagerBean"
*    type="Stateless"
* view-type="local"
*
*--
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.bean ejb-name="SampleManager"
*    jndi-name="SampleManagerBean"
*
*--
**/
public class SampleManagerBean implements SessionBean,ComponentInt {

static Logger LOG = Logger.getLogger(SampleManagerBean.class);
...
...


any idea ???

thanks in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to