xdoclet:ejbdoclet goal fails to generate the deployment descriptor, home
interfaces etc. on my windows (Windows 2000) development environment. It
works fine on Unix. Also for few of my colleagues, it works fine on their
windows 2000.
 
Here is our maven.xml:
 
;--------------------------
<project default="build" xmlns:m="jelly:maven">
 <goal name="code-generate">
  <mkdir dir="${maven.build.dir}/log"/>
  <mkdir dir="${maven.build.dir}/generate"/>
  <echo message="Generating JVTSessionBean ...   " />
  <java jar="${maven.repo.local}/saxon/jars/saxon-7.jar" fork="true"
   output="${maven.build.dir}/log/jvtsession.log">
   <arg path="${basedir}/../service.xml"/>
   <arg path="${basedir}/../../metamodel/jvtsession.xsl"/>
   <arg line="xsl-outdir=${maven.build.dir}/generate"/>
  </java>
  <!-- now add generated sources to maven compile set so maven knows to
compile them -->
  <path id="gen.java.compile.src.set"
location="${basedir}/target/generate"/>
  <m:addPath id="maven.compile.src.set" refid="gen.java.compile.src.set"/>
 </goal>
 <preGoal name="java:compile">
  <attainGoal name="code-generate"/>
  <attainGoal name="xdoclet:ejbdoclet"/>
 </preGoal>
 <postGoal name="cactus:cactifywar">
  <attainGoal name="cactus:postcactifywar"/>
 </postGoal>
 <preGoal name="cactus:test">
  <attainGoal name="cactus:pretest"/>
 </preGoal>
</project>
;------------------------------------
 
Here is the error that i get:
 
;------------------------------------------------
java:compile:
code-generate:
    [mkdir] Created dir:
M:\rakmoh.mainline_base_datamgmt_dev.win\oam_platform\b
ase_datamgmt\datasource\service\target\log
    [mkdir] Created dir:
M:\rakmoh.mainline_base_datamgmt_dev.win\oam_platform\b
ase_datamgmt\datasource\service\target\generate
    [echo] Generating JVTSessionBean ...
Tag library requested that is not present: 'maven' in plugin:
'maven-xdoclet-plu
gin-1.2.1'
Generating EJB deployment descriptor (ejb-jar.xml).
XJavaDoc Ignoring class
com.nortel.oam.impl.datasource.service.JVTDataSourceMode
lSessionBean in
M:\rakmoh.mainline_base_datamgmt_dev.win\oam_platform\base_datam
gmt\datasource\service\target\generate\com\nortel\oam\impl\datasource\servic
e\JV
TDataSourceModelSessionBean.java. It was generated (Tue Jun 22 16:17:23 EDT
2004
) after XJavaDoc's timestamp was reset (Tue Jun 22 16:17:17 EDT 2004)
Generating jboss.xml.
Generating jaws.xml.
 
xdoclet:ejbdoclet:
;--------------------------------------
 
Thanks,
-Rakesh
 

Reply via email to