Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problem with javadoc when using modules(Can't generate javadoc for modules in multiple projects)
Problem with javadoc when using modules [message #1792007] Mon, 09 July 2018 18:45
John I. Moore, Jr. is currently offline John I. Moore, Jr.Friend
Messages: 4
Registered: October 2009
Junior Member
I have an Eclipse (Photon, 4.8.0) workspace with with several interrelated Java 10 projects that have been configured to use modules. There is one file for each of the projects. Eclipse compiles everything fine without any errors or warnings, but when I try to run javadoc I get error messages such as "too many module declarations found". I tried adding a module-path for javadoc, but that gives a different error message, "javadoc: cannot specify both --source-path and --module-source-path"

If I remove the module files and simply create classpath dependencies instead of module dependencies, there are no problems generating the javadoc files that include all projects.
Previous Topic:Manage Single Java Class used in Different Projects
Next Topic:Maven Projects always Build when Opening in Eclipse Photon
Goto Forum:

Current Time: Sat Nov 17 15:02:02 GMT 2018

Powered by FUDForum. Page generated in 0.01874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top