On Sun, 2003-06-08 at 11:39, Marko Asplund wrote:
> i'm trying to use the webdoclet task for generating a web component
> deployment descriptor with Xdoclet v1.2b2 (+Ant v1.5.3, Blackdown Java2
> JRE v1.4.1 on Red Hat Linux v7.3). the webdoclet task is added to the Ant
> project but when the webdoclet element is encountered in the build file i
> get the following error message:
>
> xdoclet-generate:
> [webdoclet] Make sure the jar file containing the webdoclet class is on
> the classpath specified in the <taskdef> that defined {2}. These classes
> are needed in order to generate correct output.
This must be in the list archives a hundred times or more by now. The
problem isn't that it can't find the task class itself (which would be
in one of the jars you're including from ${xdoclet.home}/lib), but a
class it depends on; however, the error message is misleading due to us
not starting at 0 when we entered the substitution placeholders into the
message (hence the "{2}" that appears in there).
In your case, since it's the WebDocletTask you're having trouble with,
the missing jar is most likely the Servlet API classes. If you were
having trouble with the ejbdoclet task, it'd most likely be the EJB
classes.
Andrew.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user