<div class="gmail_extra">Ignore this, I found an old thread with some advice that I'd forgotten to follow <smacks forehead> - M<br><br><div class="gmail_quote">On 21 April 2012 15:27, Martijn Verburg <span dir="ltr"><<a href="mailto:martijnverburg@gmail.com" target="_blank">martijnverburg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" target="_blank">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="padding-left:0px;padding-right:0px;line-height:22px;padding-top:0px;margin-right:0px;color:rgb(51,51,51);margin-left:0px;margin-bottom:0px;margin-top:0px;padding-bottom:0px"><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>







</blockquote></div><br></div>