maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Walding <...@walding.com>
Subject Re: XDoclet Class generation run inconsistency when including jboss module
Date Wed, 19 Mar 2003 04:08:00 GMT
It's worth having a look in maven.log (which will be full of crap, but 
sometimes there is a gem in that thar pile)
And also running your build with -X  (another load... but sometimes 
gem-worthy)


jakarta wrote:

>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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message