On Friday 15 Aug 2003 23:37, Konrad Hernblad wrote:
> I am trying to execute ejbdoclet's Weblogic subtask using Maven, but would
> like to know what I need to specify in order to do so?
>
> My Maven files are defined as follows:
>
> project.properties
> -------------------------
> maven.repo.local=c:/java/repository
> maven.ejb.src=./target/xdoclet/ejb
> maven.xdoclet.ejbdoclet.weblogic.0="true"
> maven.xdoclet.ejbdoclet.weblogic.0.version=6.1
> maven.xdoclet.ejbdoclet.weblogic.0.xmlencoding=UTF-8
> maven.xdoclet.ejbdoclet.weblogic.0.destdir=./target/xdoclet/ejb
> maven.xdoclet.ejbdoclet.weblogic.0.validatexml=true
> maven.xdoclet.ejbdoclet.weblogic.0.datasource=java:/myDS
> maven.xdoclet.ejbdoclet.weblogic.0.mergedir=./src/xdoclet/merge
> maven.xdoclet.ejbdoclet.weblogic.0.persistence=weblogic
>
> maven.properties
> ------------------------
> <project default="java:compile">
> <preGoal name="java:compile">
> <attainGoal name="xdoclet:ejbdoclet"/>
> </preGoal>
> </project>
>
> project.xml
> ----------------
> <!-- all required xdoclet .jars + commons-collections & commons-logging are
> defined -->
>
> The ejb-jar.xml is being generated successfully, but not:
> weblogic-ejb-jar.xml
> weblogic-cmp-rdbms-jar.xml
Hi,
Have you added the dependency for the BEA module of xdoclet to project.xml ?
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-bea-module</artifactId>
<version>1.2b4</version>
<url>http://xdoclet.sourceforge.net/</url>
</dependency>
If it is missing it would likely just skip the weblogic parts without saying
anything. In addition I'd removed the quotes from "true" on the
maven.xdoclet.ejbdoclet.weblogic.0 param though not sure if that would cause
it to fail (I do know that I don't have the quotes on mine and it generates
fine).
If that doesn't work, post your project.xml - the dependencies that Xdoclet
currently needs are a bit erratic and there are a few issues raised against
it.
HTH
--
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