Hi all,<div><br></div><div>For the javac bug warnings day I'm trying to set-up a VM which contains a full clone of <a href="http://hg.openjdk.java.net/jdk8/tl">http://hg.openjdk.java.net/jdk8/tl</a> (into the ~/jdk8_tl directory). I'm then building the full OpenJDK with:</div>
<div><br></div><div>LANG=C</div><div>ALT_BOOTDIR=/opt/java/1.7.0_03 (an installation of Oracle's binary)</div><div><br></div><div>The full build below works just fine:</div><div><br></div><div>cd ~/jdk8_tl</div><div>make sanity</div>
<div>make clean</div><div>make all</div><div><br></div><div>I'm then looking to build the jdk sub tree after that with compiler warnings switched on. I'm hoping to pick up the latest hotspot etc that was just built. So I execute the following:</div>
<div><br></div><div>cd ~/jdk8_tl/jdk/make</div><div>make clean</div><div><span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(51,51,51);line-height:22px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif">make JAVAC_MAX_WARNINGS=true JAVAC_WARNINGS_FATAL= OTHER_JAVACFLAGS="-Xmaxwarns 10000" &> build.log</font></span></div>
<div><br></div><div>However this subtree build errors out as it can't find various paths/files to build/reference. I started 'educated guessing' what env vars to set (such as ALT_HOTSPOT_SERVER_PATH, ALT_HOTSPOT_CLIENT_PATH & ALT_HOTSPOT_IMPORT_PATH). However, I'm concerned I'm going down the wrong path, as I'm adding more and more env vars, complicating the set-up considerably.</div>
<div><br></div><div>Is the set of env vars you would typically set for a full build different to a subtree (jdk) build? Is there a set that will work for both, in particular the partial build after the full build?</div><div>
<br></div><div>Cheers,</div><div>Martijn</div>