On 2/20/21 6:05 PM, Chris Marusich wrote:
Glenn Holmer <ce...@kolabnow.com.INVALID> writes:
Is anybody else having trouble getting NetBeans to generate Javadoc?
I've got a modular project (source level 11) that builds and runs
successfully (other programs can call into it by declaring the
module), but when I click "Generate Javadoc" from the project menu, I
get

"Exit code: 1 - error: module not found: org.lyonlabs.d64"

NOTE: when working with the Java Platform Modular System, be aware that
the javadoc tool requires the compiled code, hence try to run mvn
compile javadoc:javadoc before filing an issue."

I.e., try running this explicitly: mvn compile javadoc:javadoc

Seems like NetBeans ought to do this for you when you ask it to build
Javadocs, but for some reason it doesn't.

Thanx, that works. I set it up so I could just right-click the project and select "Run Maven --> Javadoc". Another mystery solved; this goes on my NetBeans cheat sheet!

--
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

<<attachment: cenbe.vcf>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to