generating module-aware javadoc for internal packages

Rick Hillegas rick.hillegas at gmail.com
Sun Jun 17 22:45:04 UTC 2018


I would appreciate your advice about how to generate module-aware 
documentation for internal packages which have not been exported by the 
corresponding module info.

Given the attached project, the following command works fine...

javadoc -d ./build/javadoc \

   -Xdoclint:none \

   --module-source-path ./java \

   --module org.test.mymodule \

   visiblepackage


However, the following command...

javadoc -d ./build/javadoc \

   -Xdoclint:none \

   --module-source-path ./java \

   --module org.test.mymodule \

   visiblepackage invisiblepackage


...dies with the following diagnostic messages:

Loading source files for package visiblepackage...

Loading source files for package invisiblepackage...

javadoc: error - No source files for package invisiblepackage

1 error


Thanks,
-Rick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20180617/80fbbc43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zdoc.tar
Type: application/x-tar
Size: 9216 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20180617/80fbbc43/zdoc.tar>


More information about the javadoc-dev mailing list