building javadoc with modules

Justin Lee jlee at antwerkz.com
Tue Aug 28 01:47:42 UTC 2018


I'm trying to run javadoc against the java9 src.zip and I have no idea how
to handle the modules.  Even if I go with the classic "javadoc @sources"
approach I get an error about too many modules defined.  I've tried a
number of variations but I can't quite seem to crack that nut.

My latest attempt looks like this:

javadoc -d /tmp/javadoc9 -html5 --module \
     java.management.rmi \
     jdk.packager.services \
     jdk.scripting.nashorn.shell \
     <more module names here...> \
     -Xmaxerrs 1000 \
     @source.files



Does anyone have an example of running the javadoc tool from the command
line and generating docs for modularized code like this?  Thanks.

-- 
You can find me on the net at:
http://antwerkz.com             http://antwerkz.com/+
http://antwerkz.com/twitter   http://antwerkz.com/github
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/javadoc-dev/attachments/20180827/8f7a8b9c/attachment.html>


More information about the javadoc-dev mailing list