Do you know any reason, why javadoc only generates the constant-values.html and no more files? I got these message: javadoc: No public or protected classes found to document. Generating H:\entwick\java\test\intern\javadoc\constant-values.html... But there are public and protected classes!!! Any idea?
Sayed Ibrahim Hashimi
Joined: May 17, 2001
It sounds like the javadoc tool can not locate your files. You may have to specify the sourcepath So lets say that your .java files are in the C:\Java\test\ directory then you would do: C:>javadoc -sourcepath C:\Java\test\ or C:\Java\test>javadoc -sourcepath "." If this doesn't work then also try specifying the class path in the same manner using the -classpath argument. Hope this helps.
Thanks for your help. But it was a more easier problem. There were some sourcefile placed twice in different directories. And I suppose javadoc got some problem with this, while generating the doc-files. After deleting the duplicates it worked perfectly.