#316 javadoc generation failed

open
nobody
None
5
2009-05-28
2009-05-28
Sebastian Heyden
No

when i try to generate javadoc for the java api of one of my projects it will be empty. the javadoc folder just contains a stylesheet and nothing else. the status output of the generation is as follows:

-javadoc-api:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] javadoc: error - Illegal package name: ""
[javadoc] Loading source files for package com.inwx.xerver.domain.api...
[javadoc] Loading source files for package inwx.xerver.domain.api...
[javadoc] Loading source files for package xerver.domain.api...
[javadoc] Loading source files for package domain.api...
[javadoc] Loading source files for package api...
[javadoc] Loading source files for package com.inwx.xerver.domain.types...
[javadoc] Loading source files for package inwx.xerver.domain.types...
[javadoc] Loading source files for package xerver.domain.types...
[javadoc] Loading source files for package domain.types...
[javadoc] Loading source files for package types...
[javadoc] 1 error
[copy] Copying 1 file to /Users/sebas/[...]/build/javadoc-api/domain

Discussion

  • Please provide a detailed example that can be used to write a reproducible test
    case.

     
  • I cannot reproduce the problem.
    Could you provide an small example? or adapt one of xins examples to produce the same error?

     
  • error producing project

     
    Attachments
  • i attached a small example

     
  • I've tried your example with JDK 1.5 and JDK 1.6 and no problem. The javadoc was generated successfully.

    [javadoc] Generating Javadoc
    [javadoc] Javadoc execution
    [javadoc] Loading source files for package com.inwx.xerver.pdf.api...