Hi Torsten,

Dipl.-Ing. Torsten Liermann wrote on Wednesday, February 28, 2007 1:46 PM:

> Hi,
> 
> sorry, i can not speak english... I would like to have
> all interfaces and so on for a slsb. but nothing.
> I' using maven 2.0.4 and start maven with
> 
> mvn generate-sources
> 
> The output ist:
> 
> [WARNING] While downloading servletapi:servletapi:2.3
>   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> 
> 
> [INFO] [xdoclet:xdoclet {execution: generateSources}]
> [INFO] Initializing DocletTasks!!!
> [INFO] Executing tasks
> 28.02.2007 13:32:56 xdoclet.XDocletMain start
> INFO: Running <remoteinterface/>
> 28.02.2007 13:32:56 xdoclet.XDocletMain start
> INFO: Running <homeinterface/>
> 28.02.2007 13:32:56 xdoclet.XDocletMain start
> INFO: Running <localhomeinterface/>
> 28.02.2007 13:32:56 xdoclet.XDocletMain start
> INFO: Running <deploymentdescriptor/>
> Generating EJB deployment descriptor (ejb-jar.xml).
> 28.02.2007 13:32:56 xdoclet.XDocletMain start
> INFO: Running <weblogic/>
> Generating weblogic-ejb-jar.xml.
> [INFO] Executed tasks
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Wed Feb 28 13:32:56 CET 2007
> [INFO] Final Memory: 5M/10M
> [INFO]
> --------------------------------------------------------------
> ----------
> 
> But the deployment descriptor is empty and no interfaces generated.

Did you run this from a multi module build and you use the XDoclet plugin 
elsewhere? Known bug.

[snip]

> The ejbdoclet configuration in the pom.xml is

Modify to:
 
  <ejbdoclet verbose="99" destDir="DO NOT USE"
         excludedTags="@author,@version"
         ejbSpec="2.1" force="true">
      <fileset dir="${project.build.sourceDirectory}/">
        <include name="**/*.java"/>
      </fileset>
 
      <remoteinterface 
destDir="${project.build.directory}/generated-sources/xdoclet"/>
      <homeinterface 
destDir="${project.build.directory}/generated-sources/xdoclet"/>
      <localhomeinterface 
destDir="${project.build.directory}/generated-sources/xdoclet"/>
      <deploymentdescriptor
 destDir="${project.build.outputDirectory}/META-INF"         
 useIDs="true"/> 
 
      <weblogic version="8.1"
          createtables="Disabled"
 
          destDir="${project.build.outputDirectory}/META-INF"
          dataSource="${mw.dataSource}"
          />
  </ejbdoclet>
 
> What is wrong?

Declare the destDir for every subdoclet task.

- Jörg

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

Reply via email to