Re: mkdemo and NO_IMAGES

2009-06-20 Thread Max (Weijun) Wang
On Jun 8, 2009, at 11:43 PM, Kelly O'Hair wrote: Max (Weijun) Wang wrote: Two questions: 1. Why is the demo directory always rebuilt even if I haven't touched it? The demos are built with the jdk you just created, so in theory, any change to the built jdk would require all the demos t

Re: mkdemo and NO_IMAGES

2009-06-08 Thread Tim Bell
2. Even if I set NO_IMAGES=true, why is the images still built? Try also setting DEV_ONLY=true. I think these are tied together for some historic reason. Yes - take a look at /make/jdk-rules.gmk, starting at line 65: ifndef DEV_ONLY JDK_BUILD_TARGETS = sanity all $(DOCS_TARGET) images e

Re: mkdemo and NO_IMAGES

2009-06-08 Thread Kelly O'Hair
Max (Weijun) Wang wrote: Two questions: 1. Why is the demo directory always rebuilt even if I haven't touched it? The demos are built with the jdk you just created, so in theory, any change to the built jdk would require all the demos to be rebuilt. Not sure how it detects this 'jdk has chan