How to disable demos

Erik Joelsson erik.joelsson at oracle.com
Tue May 13 07:52:56 UTC 2014


Hello,

No, not really. If you do "make jdk" (or just "make" which is the same), 
demos aren't built. If you do "make images" or "make demos", the demos 
are built. What is your usecase? If you don't need images, then you are 
already skipping demos. If you need images, then demos will be built the 
first time. Building the demos is quite fast these days so we figured it 
would be better to reduce the complexity of handling builds with or 
without demos.

/Erik

On 2014-05-13 05:00, Ioi Lam wrote:
> I tried the NO_DEMOS flag as in 
> https://bugs.openjdk.java.net/browse/JDK-7143162 "Allow disabling of 
> jdk demos and samples build", but this seems to be in "old build" 
> only, and doesn't affect the new build system.
>
> Is there an equivalent for the new build?
>
> Thanks
>
> - Ioi




More information about the build-dev mailing list