Strange error. Maybe someone else has seen it??
Running on cygwin (Win2K, Sun 1.3.1.03 JVM); using basic webdoclet stuff from ant. xdoclet v1.1.2.
I have taskdef defined like so:
<taskdef name="webdoclet"
classname="xdoclet.web.WebDocletTask"
classpath="${tools.dir}/xdoclet/lib/xdoclet.jar"/>
and a target defined like so:
<target name="webdoclet.main" depends="prepare">
<webdoclet
destdir="${gen.src.dir}"
classpathref="build.classpath"
excludedtags="@version,@author"
sourcepath="${src.dir}/main"
packagenames="blah.blah.*">
<strutsconfigxml
destdir="${gen.src.dir}/WEB-INF"
mergedir="${src.webapp}/mergefiles"/>
</webdoclet>
</target>
When I run the target, I get the following output:
>>
webdoclet.main:
[webdoclet] Generating Javadoc
[webdoclet] Javadoc execution
[webdoclet] javadoc: Cannot find doclet class xdoclet.DocletTask$DocletMain
[webdoclet] 1 error
BUILD FAILED
c:\cap_opm\src\build\build.xml:172: Javadoc returned 1
<<
Wierd that it finds the task class itself (DocletTask), but can't find the innerclass DocletMain. It shows up in the jar file. (Possibly) even wierder is the fact that this exact project works on Linux (whole project copied straight to Linux box - works without any modification). I don't know if this an effect of the OS or the different JVM.
Anyone else seen this? It's giving me fits.
TIA,
Mike
