Re: generating module-aware javadoc with ant

Stefan Bodewig <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
On 2018-06-02, Rick Hillegas wrote:

> I don't see any module attributes or nested elements documented for
> the <javadoc> task here:
> https://ant.apache.org/manual/Tasks/javadoc.html Googling around
> doesn't tease out any more information on how to generate module-aware
> javadoc with ant.

So far it seems it hasn't been missed by anybody.

> I can generate module-aware javadoc by using the <exec> task.

If you know how to do it with exec then you can use the nested <arg> of
the <javadoc> task instead.

> 2) Are module attributes and nested elements on the roadmap for a
> future ant version?

I must admit I haven't even looked at the javaodc changes for modules
myself at all. Had a quick look right now.

What do you think would be a good set of args to support?

--expand-requires => attribute with values transitive/all
--limit-modules => nested element
--module => nested element
--module-path => nested path element
--module-source-path => nested path element
--show-module-contents => attribute with api/all

Do we need --add-modules and --upgrade-module-path at all? Even any of
the "extended options"?

Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.