hey, all.  i have an EJB project that builds an MDB with m2.  my problem is
that when i use xdoclet in conjunction with this project, it doesn't
generate the appropriate deployment descriptors when my MDB bean class
inherits from a superclass.  when i remove the extends clause and replace it
with direct implementation of MessageDrivenBean and MessageListener, it
works fine.  

anybody seen/resolved this problem?  my relevant plugin config is below:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>xdoclet-maven-plugin</artifactId>
  <executions>
    <execution>
      <phase>generate-sources</phase>
      <goals>
        <goal>xdoclet</goal>
      </goals>
      <configuration>
        <tasks>
          <ejbdoclet verbose="true" force="true" ejbSpec="2.0"
destDir="${project.build.outputDirectory}"
mergeDir="${project.build.sourceDirectory}/../xdoclet">
            <fileset dir="${project.build.sourceDirectory}">
              <include name="**/*MDB.java"/>
            </fileset>
            <deploymentDescriptor displayname="${name}"
destDir="${project.build.outputDirectory}/META-INF"/>

            <oc4j validateXML="false"
destDir="${project.build.outputDirectory}/META-INF"/>
          </ejbdoclet>
        </tasks>
      </configuration>
    </execution>
  </executions>
</plugin>
-- 
View this message in context: 
http://www.nabble.com/-m2--xdoclet-with-MDBs-tf1955551.html#a5363493
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to