Determined my own problem.
Needed to include 2 modules:
xdoclet-web-module.jar
xdoclet-jmx-module.jar
Definatly need to figure out a method of capturing error messages.
Definatly like whats being done with Maven. Keep up the good work.
"jakarta" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
>
> When I include the xdoclet-jboss-module jar in my POM my maven script
seems
> to no longer run the ejbdoclet task I created any longer. It runs
> successfully when I do not include the jboss module. I am not using the
> XDoclet plugin because it seems to be buggy so I wrote an ant/jelly script
> that utilizes the XDoclet ejbdoclet task.
>
> I have also downloaded the XDoclet 1.2b3 from cvs repository and the Maven
> 1.0b9 and it still has the same problems. Runs successfully until I add
the
> xdoclet-jboss-module to the POM. Perhaps I am missing something that the
> jboss module depends on but not sure since no error is returned that I can
> see.
>
>
>
> Maven goal cutout looks like this:
>
> <goal name="xdoclet">
>
>
> <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
>
> <classpath>
>
> <path refid="maven.dependency.classpath"/>
>
> <classpath>
>
> </taskdef>
>
>
>
>
> <mkdir dir="${maven.build.dir}/conf"/>
>
> <mkdir dir="${maven.build.dir}/xdoclet"/>
>
> <!-- loop to process each EJB directory under the persistence
directory -->
>
> <j:forEach items="${ejbdirs}" var="ejb" indexVar="dirVal">
>
> <a:ejbdoclet destdir="${maven.build.dir}/xdoclet" ejbspec="2.0">
>
> <fileset dir="${maven.src.dir}/java">
>
> <include name="**/${ejb}/*EJB.java"/>
>
> </fileset>
>
> <remoteinterface/>
>
> <homeinterface/>
>
> <localinterface/>
>
> <localhomeinterface/>
>
>
> <deploymentdescriptor destdir="${maven.build.dir}/conf"/>
>
> </a:ejbdoclet>
>
>
> <!-- get ejb deployment descriptor and put in conf dir -->
>
> <move file="${maven.build.dir}/conf/ejb-jar.xml"
> tofile="${maven.conf.dir}/${ejb}-ejb.xml"/>
>
>
> <!-- get ejb deployment descriptor and put in conf dir -->
>
>
> </j:forEach>
>
> <!-- merge new classes into src dir -->
>
> <move todir="${maven.src.dir}/java">
>
> <fileset dir="${maven.build.dir}/xdoclet"/>
>
> </move>
>
>
> </goal>
>
>
>
>
>
> Maven POM:
>
> <dependency>
>
> <id>xdoclet+xjavadoc</id>
>
> <version>1.2b2</version>
>
> </dependency>
>
> <dependency>
>
> <id>xdoclet</id>
>
> <version>1.2b2</version>
>
> </dependency>
>
> <dependency>
>
> <id>xdoclet+ejb-module</id>
>
> <version>1.2b2</version>
>
> </dependency>
>
> <dependency>
>
> <id>xdoclet+xdoclet-module</id>
>
> <version>1.2b2</version>
>
> </dependency>
>
> <dependency>
>
> <id>xdoclet+java-module</id>
>
> <version>1.2b2</version>
>
> </dependency>
>
> <dependency>
>
> <id>xdoclet+jboss-module</id>
>
> <version>1.2b2</version>
>
> </dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]