I recommend you upgrade to XDoclet 1.2, the latest binary available. You'll find life much more pleasant, I promise! You'll have to make some changes to your build file - check the docs on the details with respect to where the classpath should be defined and what it should contain.

Erik


On Monday, January 13, 2003, at 07:07 AM, Simon Juden wrote:
All,

I'm getting a strange error Javadoc failed: java.io.IOException:
CreateProcess: when running xdoclet against some EJBs trying to generate the
DDs. Nothing out of the ordinary in the EJBs. Here is the entire message I
get - no stack trace :-(

ejb_xdoclet:
[ejbdoclet] Generating Javadoc
[ejbdoclet] Javadoc execution

BUILD FAILED

C:\dev\src\datarule\build.xml:124: Javadoc failed: java.io.IOException:
CreateProcess: javadoc -private -classpath
C:\dev\deploy\datarule\classes;C:\dev\src\mwareconfiguration\common\lib s\ejb
\xdoclet.jar;C:\dev\src\mwareconfiguration\common\libs\java\ant.jar;C:\ dev\s
rc\mwareconfiguration\common\libs\orion\orion.jar;C:\dev\src\mwareconfi gurat
ion\common\libs\orion\ejb.jar;C:\dev\src\mwareconfiguration\common\libs \java
\mail.jar;C:\dev\deploy\architecture\lib\ejbframework.jar;C:\dev\src\mw areco
nfiguration\common\libs\java\junit.jar;C:\dev\src\mwareconfiguration\co mmon\
libs\java\log4j.jar;C:\dev\deploy\profilemanager\lib\profilemanager- ejb.jar
-sourcepath C:\dev\src\datarule\src -doclet xdoclet.DocletTask$DocletMain
-docletpath
C:\dev\deploy\datarule\classes;C:\dev\src\mwareconfiguration\common\lib s\ejb
\xdoclet.jar;C:\dev\src\mwareconfiguration\common\libs\java\ant.jar;C:\ dev\s
rc\mwareconfiguration\common\libs\orion\orion.jar;C:\dev\src\mwareconfi gurat
ion\common\libs\orion\ejb.jar;C:\dev\src\mwareconfiguration\common\libs \java
\mail.jar;C:\dev\deploy\architecture\lib\ejbframework.jar;CD

Here is the relevant snippet from build.xml, this happens on W2K under
1.3.1_01a and 1.4.1_01 JDKs. As you'll see we're just after CMP class and
DD generation at this stage (for various reasons) for orion and jboss.

<target name="ejb_xdoclet">
<taskdef name="ejbdoclet"
classname="xdoclet.ejb.EjbDocletTask" classpath="${classpath}"/>

<ejbdoclet
sourcepath="${src.dir}"
destdir="${generate.ejb.dir}"
classpath="${classpath}"
excludedtags="@version,@author"
ejbspec="1.1">
<fileset dir="${src.dir}">
<include name="**/*Bean.java"/>
</fileset>
<entitycmp destdir="${src.dir}" cmpspec="1.x"/>
<deploymentdescriptor destdir="${meta.ejb.dir}"/>

<jboss
version="3.0"
xmlencoding="UTF-8"
typemapping="Oracle8"
datasource="jdbc/NxcDB"
destdir="${meta.ejb.dir}"
validateXml="false"/>

<!-- deploymentVersion="1.4.5" -->
<orion

xmlencoding="UTF-8"
destdir="${meta.ejb.dir}"
validateXml="false"/>
</ejbdoclet>

Has anyone seen this or does anyone have any ideas or pointers to further
FMs for me to R ;-)

Many, many thanks in advance for any hints

Simon


_______________________________________________________________________ __

ProQuest Alison

The information contained in this e-mail and any attached files is intended only for the use of the person(s) to whom it is addressed and may be privileged, confidential and exempt from disclosure under applicable law. The views of the author may not necessarily reflect the views of the Company. If you are not the intended recipient please do not copy or convey this message or any attached files to any other person but delete this message and any attached files and notify us of incorrect receipt via e-mail to [EMAIL PROTECTED]


_______________________________________________________________________ _
This e-mail has been scanned for all viruses by Star Internet.


-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to