You aren't running 1.2 if you are still running with the <ejbdoclet> snippet you sent in the first e-mail. <ejbdoclet> no longer supports the 'classpath' attribute, nor does it use Java's javadoc utility, so you would not get a CreateProcess error. And also, XDoclet 1.2 has more than a single JAR.
So, double-check your configuration and give 1.2 a try.
Erik
On Monday, January 13, 2003, at 07:40 AM, Simon Juden wrote:
Hi Erik,
I'm running 1.2....the classpath snippet is
<!-- Sub directories -->
<property name="build.dir" value="${root.dir}/${module}"/>
<property name="class.dir" value="${build.dir}/classes"/>
...snip...
<property name="orion.dir" value="${class.dir}/orion"/>
<property name="oracle.dir" value="${class.dir}/oracle"/>
<property name="src.dir" value="src"/>
<property name="junit.jar"
value="../mwareconfiguration/common/libs/java/junit.jar"/>
<property name="profilemanager.jar"
value="${root.dir}/profilemanager/lib/profilemanager-ejb.jar"/>
<property name="log4j"
value="../mwareconfiguration/common/libs/java/log4j.jar"/>
<property name="xdoclet.jar"
value="../mwareconfiguration/common/libs/ejb/xdoclet.jar"/>
<property name="ant.jar"
value="../mwareconfiguration/common/libs/java/ant.jar"/>
<!-- Set the class path to use to build the project -->
<property name="orionjars"
value="../mwareconfiguration/common/libs/orion/orion.jar;../ mwareconfigurati
on/common/libs/orion/ejb.jar;../mwareconfiguration/common/libs/java/ mail.jar
"/>
<property name="classpath"
value="${class.dir};${xdoclet.jar};${ant.jar};${orionjars};${root.dir}/ archi
tecture/lib/ ejbframework.jar;${junit.jar};${log4j};${profilemanager.jar}"/>
Am I missing something?
WIth many thanks
S
-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 12:20
To: Simon Juden
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Xdoclet-user] CreateProcess error
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\li b
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\mwareconf i
gurat
ion\common\libs\orion\ejb.jar;C:\dev\src\mwareconfiguration\common\lib s
\java
\mail.jar;C:\dev\deploy\architecture\lib\ejbframework.jar;C:\dev\src\m w
areco
nfiguration\common\libs\java\junit.jar;C:\dev\src\mwareconfiguration\c o
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\li b
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\mwareconf i
gurat
ion\common\libs\orion\ejb.jar;C:\dev\src\mwareconfiguration\common\lib s
\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 e-mail has been scanned for all viruses by Star Internet.
_______________________________________________________________________ _
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
