Checkout and see if it's fixed or not.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-devel-
> [EMAIL PROTECTED]] On Behalf Of Erik Hatcher
> Sent: Saturday, February 23, 2002 7:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-devel] strange exception
> 
> ----- Original Message -----
> From: "Ara Abrahamian" <[EMAIL PROTECTED]>
> 
> > >     <document sourcepath="${src.dir}"
> > >               destdir="${gen.dir}"
> > >               classpathref="xdoclet.classpath">
> > >       <fileset dir="${src.dir}">
> > >         <include name="*.java"/>
> > >       </fileset>
> >
> > The problem is:
> >
> > C:\jakarta\jakarta-ant\src\main\org\apache\tools\ant\taskdefs
> >
> > Whereas it should be C:\jakarta\jakarta-ant\src\main and fileset
should
> > be <include name="**/*.java"/>.
> 
> Ok, you got me on this one - thanks for the help on that gross
oversight
> of
> mine.  I changed the sourcepath to be correct.  But **/*.java is not
what
> I
> want, I'm only processing a single directory (for now).
> 
> I've hit another problem when I did that:
> 
>  [document] javadoc: In doclet class xdoclet.DocletTask$DocletMain,
> method
> star
> t has thrown an exception java.lang.reflect.InvocationTargetException
>  [document] java.lang.IllegalStateException: Couldn't find bean
> org.apache.tools
> .ant.taskdefs.FixCRLF.OneLiner in sourcepath C:\jakarta\jakarta-
> ant\src\main
> 
> FixCRLF defines OneLiner like this:
> 
>    class OneLiner implements Enumeration
> 
> I'm not sure why its not public static, or if that even makes sense in
> this
> case, but it seems its killing XDoclet somehow.
> 
> Why is the <document> task unhappy with this particular class?
> 
> The remainder of the relevant stack trace is provided below.
> 
> 
> 
>  [document]     at
> xdoclet.TemplateSubTask.beanFile(TemplateSubTask.java:505)
>  [document]   Generating output for
'org.apache.tools.ant.taskdefs.Expand'
> using
>  template file
> 'file:/C:/jakarta/jakarta-ant/proposal/xdocs/templates/task_xdoc.
> template'.
>  [document]     at
> xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java
> :426)
>  [document]     at
> xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:339
> )
>  [document]   Generating output for
'org.apache.tools.ant.taskdefs.Filter'
> using
>  template file
> 'file:/C:/jakarta/jakarta-ant/proposal/xdocs/templates/task_xdoc.
> template'.
>  [document]     at
> xdoclet.TemplateSubTask.execute(TemplateSubTask.java:277)
>  [document]     at
> xdoclet.DocletTask$DocletMain.start(DocletTask.java:550)
>  [document]     at java.lang.reflect.Method.invoke(Native Method)
>  [document]   Generating output for
> 'org.apache.tools.ant.taskdefs.FixCRLF'
> usin
> g template file
> 'file:/C:/jakarta/jakarta-ant/proposal/xdocs/templates/task_xdoc
> .template'.
>  [document]   Generating output for
> 'org.apache.tools.ant.taskdefs.FixCRLF.OneLi
> ner' using template file
> 'file:/C:/jakarta/jakarta-ant/proposal/xdocs/templates/
> task_xdoc.template'.
>  [document]     at
> com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java
> :193)
>  [document]     at
> com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:
> 95)
>  [document]     at com.sun.tools.javadoc.Main.main(Main.java:233)
>  [document] 1 error
> 
> The output seems a big jumbled.  Why is that?
> 
> Thanks again.
> 
>     Erik
> 
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to