Well, I fixed this error by compiling XDoclet from CVS source and installing it that way. No error, everything is ok.
Geoffeg
On Tuesday, January 28, 2003, at 09:45 AM, Geoffrey Gallaway wrote:
Hello all,
I am trying using xdoclet 1.2b2 on my OS X box (using Java 1.3). I downloaded the bin distribution and copied everything in lib/ into buildlibs/ in my project (having the buildlibs directory makes it easier for me to have all the *.jar files and such required to build in one place). I edited my ant build.xml file adding the taskdet and target sections and tried to test it out with "ant ejbdoclet" and I get:
ejbdoclet:
[ejbdoclet] Make sure the jar file containing the ejbdoclet class is on the classpath specified in the <taskdef> that defined {2}. These classes are needed in order to generate correct output.
BUILD FAILED
file:/Users/geoffeg/src/myproj/build.xml:97: Unexpected error
I've looked through build.xml file over and over and I still can't find out what is wrong, here are the relevant sections of my > build.xml:
<path id="xdoclet.classpath">
<fileset dir="buildlibs" includes="**/*.jar"/>
</path>
<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpathref="xdoclet.classpath"/>
<target name="ejbdoclet" depends="prepare">
<tstamp>
<format property="TODAY" pattern="d-MM-yy"/>
</tstamp>
<ejbdoclet
destdir="${build.dir}"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY} ejbspec="
verbose="true"
ejbspec="2.0">
<fileset dir="${src.dir}">
<include name="**/*Bean.java"/>
</fileset>
<remoteinterface/>
<homeinterface/>
<deploymentdescriptor destdir="${build.dir}/ejb/META-INF"/>
<jboss destdir="${build.dir}/ejb/META-INF" version="3.0" xmlencoding="UTF-8"/>
</ejbdoclet>
</target>
Anyone have any ideas what is going on? I have the libs in buildlibs/, all the libs from the xdoclet/libs/ directory.
Thanks,
Geoffeg
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
