Search code examples
eclipsejavadocdocumentation-generation

Javadoc Generation Problem in Eclipse


I'm having a problem with the javadoc generation in eclipse. In advance, thanks for taking the time. Here's what happens: I go to Project>Generate Javadoc..., select all of the files in the project, then press finish.

Eclipse then goes and seemingly does its' thing. The output in the console looks more or less like this:

Loading source files for package client...

Loading source files for package engine...

Constructing Javadoc information...

Standard Doclet version 1.6.0_16

Building tree for all the packages and classes...

Generating C:\...Tempus\API\client/\Tempus.html...

Wait, what's that? "/\"??? That doesn't make any sense (or, at least, I don't think it does)! This "/\" pattern continues for all the classes in each package in my project. Later, the console window bar reads <teminated> Javadoc Generation instead of Javadoc Generation (which I'm assuming is bad) right after generating the stylesheet.css. The javadoc files are not generated, and I'm left with no outright evidence of an error. Help?


Solution

  • What's in the "Destination" field of your "Javadoc Generation" dialog (window you get when you click Project>Generate Javadoc...)?

    Does it look like this?

    C:\...Tempus\API\client/
    

    If so, try removing the trailing slash.