You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Loughran <st...@iseran.com> on 2002/09/05 23:07:51 UTC
xdocs working?
I am getting failures when I try and run xdocs today.
[xdocs] javadoc: In doclet class xdoclet.DocletTask$DocletMain, method
start has thrown an exception java.lang.reflect.InvocationTargetException
BUILD FAILED
java1.4, 2 CPU, WinXP gold, etc. Anyone else seen this (or run xdocs for a
while?)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xdocs working?
Posted by Erik Hatcher <er...@hatcher.net>.
I just ran it myself and got this:
[xdocs] Generating output for
'org.apache.tools.ant.taskdefs.optional.ANTLR' using template file
'file:/Users/erik/dev/jakarta/jakarta-ant/proposal/xdocs/templates/task_xdoc.template'.
[xdocs] Running XDoclet failed.
[xdocs] <<org.apache.tools.ant.taskdefs.optional.ANTLR>>
[xdocs] 1 error
[xdocs] 61 warnings
[xdocs] javadoc: In doclet class xdoclet.DocletTask$DocletMain,
method start has thrown an exception
java.lang.reflect.InvocationTargetException
I'm running it on a different box and environment than I did our
appendix E generation. But here's the deal - xdocs requires running
with a *complete* version of Ant, meaning all the dependencies for the
third party stuff is available so that it can do a Class.forName and
newInstance (for EnumeratedAttribute lookup).
So, if you can provide all the JAR's (ANTLR.jar is missing in my case)
and a completely full version of Ant decked with all the tasks, then it
will run.
But aren't you running against Axis' code instead? In that case, you'll
need the Axis libraries in the classpath as well as pointing at the
source code. Tricky and fiddly to get running, but look at the results!
Erik
Steve Loughran wrote:
> ----- Original Message -----
> From: "Erik Hatcher" <ja...@ehatchersolutions.com>
> To: "Ant Developers List" <an...@jakarta.apache.org>
> Sent: Thursday, September 05, 2002 2:42 PM
> Subject: Re: xdocs working?
>
>
>
>>We need to upgrade to a newer version of XDoclet at the very least,
>>otherwise I cannot even have a worthy look at it. Keep nagging me if
>>you don't resolve this and I'll try to have a look at it soon - I may
>>even be an XDoclet committer soon, even.
>
>
> well, Axis 1.0RC1 went out today and the final release is next friday. So,
> an early examination would be good :)
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xdocs working?
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Erik Hatcher" <ja...@ehatchersolutions.com>
To: "Ant Developers List" <an...@jakarta.apache.org>
Sent: Thursday, September 05, 2002 6:02 PM
Subject: Re: xdocs working?
> So just so I understand what Axis is doing.... they have their own
> custom Ant tasks marked up with @tags that you want generated into XML
> files for documentation generation?
yup
> I will have a look-see by the end of the weekend hopefully.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xdocs working?
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
So just so I understand what Axis is doing.... they have their own
custom Ant tasks marked up with @tags that you want generated into XML
files for documentation generation?
I will have a look-see by the end of the weekend hopefully.
Erik
Steve Loughran wrote:
> ----- Original Message -----
> From: "Erik Hatcher" <ja...@ehatchersolutions.com>
> To: "Ant Developers List" <an...@jakarta.apache.org>
> Sent: Thursday, September 05, 2002 2:42 PM
> Subject: Re: xdocs working?
>
>
>
>>We need to upgrade to a newer version of XDoclet at the very least,
>>otherwise I cannot even have a worthy look at it. Keep nagging me if
>>you don't resolve this and I'll try to have a look at it soon - I may
>>even be an XDoclet committer soon, even.
>
>
> well, Axis 1.0RC1 went out today and the final release is next friday. So,
> an early examination would be good :)
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xdocs working?
Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Erik Hatcher" <ja...@ehatchersolutions.com>
To: "Ant Developers List" <an...@jakarta.apache.org>
Sent: Thursday, September 05, 2002 2:42 PM
Subject: Re: xdocs working?
> We need to upgrade to a newer version of XDoclet at the very least,
> otherwise I cannot even have a worthy look at it. Keep nagging me if
> you don't resolve this and I'll try to have a look at it soon - I may
> even be an XDoclet committer soon, even.
well, Axis 1.0RC1 went out today and the final release is next friday. So,
an early examination would be good :)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: xdocs working?
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
We need to upgrade to a newer version of XDoclet at the very least,
otherwise I cannot even have a worthy look at it. Keep nagging me if
you don't resolve this and I'll try to have a look at it soon - I may
even be an XDoclet committer soon, even.
Erik
Steve Loughran wrote:
> I am getting failures when I try and run xdocs today.
>
> [xdocs] javadoc: In doclet class xdoclet.DocletTask$DocletMain, method
> start has thrown an exception java.lang.reflect.InvocationTargetException
> BUILD FAILED
>
> java1.4, 2 CPU, WinXP gold, etc. Anyone else seen this (or run xdocs for a
> while?)
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>