Reputation: 61
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
Upvotes: 6
Views: 2232
Reputation: 2834
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.
Upvotes: 1