On Thu, 2007-06-21 at 23:22 +0100, Adam Hardy wrote:
> I couldn't get it to work. I am glad it doesn't affect you, but I found 
> nothing 
> to explain why. BTW I am on linux too.
> 
> I filed the bug http://jira.codehaus.org/browse/MJAVADOC-129 with a testcase.
> 

I tried your test case, but I get a stack trace from javadoc after a few
error messages (this is with java version 1.5.0_11):

java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl
        at
com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
        at
com.sun.tools.doclets.internal.toolkit.util.Util.isDeprecated(Util.java:804)
...

When I remove the test directory src/test/java from the sourcepath it
finishes without error but the package.html file is not picked up. So
far that's consistent with your observations.

If I remove the sourcepath completely, I get the package.html but not
the image in doc-files.

The doc-files directory does show up in the generated documentation if
it is moved to the root (i.e. src/main/javadoc/doc-files).

Seems, there are quite a few bugs at work ...

- Henry


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to