Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javadoc: error - No public or protected classes found to document

Tags:

javadoc

Am facing an issue while running javadoc in child project. There are multiple projects and they are interdependent.

While running javadoc on childproject, I recieve below error where other project classes(dependent classes for child project) are not found in classpath. javadoc: error - No public or protected classes found to document.

How can I run javadoc on childproject? Looked into javadoc options which did not help much

Thanks

like image 728
user1466361 Avatar asked Jun 20 '12 09:06

user1466361


1 Answers

Some javadoc options may be required.

-sourcepath to specify different child projects/directories

-subpackages to specify a base package and all its subpackages recursively

See javadoc options for details.

See javadoc examples for various possible cases.

like image 102
ap-osd Avatar answered Sep 19 '22 02:09

ap-osd