ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Nascimento Santos" <mister...@hotmail.com>
Subject Re: XDoclet error
Date Thu, 12 Dec 2002 11:01:59 GMT
Yes, I am using an older version (1.1.2) but I have used it successfully in
the past... I simply don't know why it isn't working...

The docs on XDoclet site doesn't require me to use any specific JDK version,
but I tried 1.2.2, 1.3.1 and 1.4.1 and got the same error...

I will try using the most recent version and tell you what happens then.

In the meantime, if anyone knows how to solve the issue using XDoclet 1.1.2
and Ant 1.5.1... :-)

Thanx
[]s
Michael

----- Original Message -----
From: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, December 12, 2002 8:40 AM
Subject: Re: XDoclet error


> It seems you're using an older version of XDoclet.  I'd recommend you
> upgrade to the latest 1.2 build (even if its a beta) - its much much
better.
>
> As for the error... doesn't this mean you've got different versions of
> Sun's javadoc in your classpath than what XDoclet expects?  Maybe you're
> using JDK 1.4?  Either way, the new XDoclet does not use Sun's javadoc
> API, but rather its own xjavadoc parser.
>
> Erik
>
>
> Michael Santos wrote:
> > Hi again,
> >
> > I am trying to run a target in a build file that uses the ejbdoclet task
> > from XDoclet. No matter what I do - change the classpath, JDK version
> > etc. -, I always get:
> >
> > [ejbdoclet] Generating Javadoc
> > [ejbdoclet] Javadoc execution
> > [ejbdoclet] java.lang.VerifyError: (class:
xdoclet/DocletTask$DocletMain,
> > method
> > : start signature: (Lcom/sun/javadoc/RootDoc;)Z) Incompatible object
> > argument fo
> > r function call
> > [ejbdoclet]     at java.lang.Class.getDeclaredMethods0(Native Method)
> > [ejbdoclet]     at
> > java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
> > [ejbdoclet]     at
java.lang.Class.privateGetPublicMethods(Class.java:1655)
> > [ejbdoclet]     at java.lang.Class.getMethod0(Class.java:1744)
> > [ejbdoclet]     at java.lang.Class.getMethod(Class.java:963)
> > [ejbdoclet]     at
> > com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
> > :171)
> > [ejbdoclet]     at
> > com.sun.tools.javadoc.DocletInvoker.validOptions(DocletInvoke
> > r.java:151)
> > [ejbdoclet]     at
> > com.sun.tools.javadoc.Start.parseAndExecute(Start.java:287)
> > [ejbdoclet]     at com.sun.tools.javadoc.Start.begin(Start.java:120)
> > [ejbdoclet]     at com.sun.tools.javadoc.Main.execute(Main.java:41)
> > [ejbdoclet]     at com.sun.tools.javadoc.Main.main(Main.java:31)
> > [ejbdoclet] javadoc: fatal error
> > [ejbdoclet] 1 error
> >
> > I have used XDoclet before and I have never seen this error. I know what
a
> > VerifyError means, but why is it happening? What should I do to fix it?
> >
> > Tkx,
> > --
> > Michael Nascimento Santos
> > Sun Certified Programmer for the Java 2 Platform
> > Sun Certified Programmer for the Java 2 Platform 1.4
> > Sun Certified Web Component Developer for J2EE
> > Moderador SouJava - www.soujava.org.br
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message