RFR: JDK-8179105 A new property to specify import module to be included in unified docs bundle
Mandy Chung
mandy.chung at oracle.com
Wed May 10 14:47:46 UTC 2017
+1
thanks
Mandy
> On May 10, 2017, at 1:18 AM, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
>
> javafx modules include a `build.properties` file to specify the properties
> when being imported in JDK image build. `make docs` currently includes all imported modules.
>
> A new property e.g. `include_in_docs` would allow FX to select which
> FX modules to be included in the docs bundle.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8179105 <https://bugs.openjdk.java.net/browse/JDK-8179105>
> Patch inline:
> diff --git a/make/common/Modules.gmk b/make/common/Modules.gmk
> --- a/make/common/Modules.gmk
> +++ b/make/common/Modules.gmk
> @@ -391,7 +391,10 @@
> else ifeq ($$(classloader), ext)
> PLATFORM_MODULES += $1
> endif
> - DOCS_MODULES += $1
> + ifneq ($$(include_in_docs), false)
> + # defaults to true if unspecified
> + DOCS_MODULES += $1
> + endif
> else
> # Default to include in all
> JRE_MODULES += $1
>
> /Magnus
More information about the build-dev
mailing list