From: Andrew S. <ste...@us...> - 2004-04-29 22:37:49
|
On Thu, 2004-04-29 at 09:42, Lillian wrote: > Hi, > > I think there is an error in the xdoclet source code. I think you're wrong :-) > In > /core/src/xdoclet/DocletTask class, line 462. It has something like below: > new XDocletMain().start(getXJavaDoc()); > Where this getXJavaDoc() is not defined anywhere. Actually, it's defined in xjavadoc.ant.XJavadocTask (line 43), which DocletTask extends. > Thus when I call the > ejbdoclet goal from maven, It gives me noSuchMethod error. > > Does anyone have the same problem? How do I fix it? The method's been in there since XJavadoc 1.0.1, as used by XDoclet 1.2 beta 3. If you're getting a NoSuchMethod error, it sounds like it's not finding the XJavadoc classes. I'm not entirely sure it's needed (as I don't use Maven much myself), but have you defined a dependency on xjavadoc in your project.xml? Andrew. |