README-builds.html

changeset 359
e01201e727da
parent 323
dada8003df87
child 433
2f06b15e2439
equal deleted inserted replaced
356:fd8615098a54 359:e01201e727da
124 <br> 124 <br>
125 For using Mercurial with the OpenJDK refer to the 125 For using Mercurial with the OpenJDK refer to the
126 <a href="http://openjdk.java.net/guide/repositories.html#installConfig"> 126 <a href="http://openjdk.java.net/guide/repositories.html#installConfig">
127 Developer Guide: Installing and Configuring Mercurial</a> 127 Developer Guide: Installing and Configuring Mercurial</a>
128 section for more information. 128 section for more information.
129 The Forest Extension is not part of the Mercurial install,
130 and is optional,
131 but can be obtained with the following commands:
132 <blockquote>
133 <tt>
134 hg clone https://bitbucket.org/pmezard/hgforest-crew/overview/ <i>YourHgForest</i>
135 </tt>
136 </blockquote>
137 Once you have the file <tt>forest.py</tt>, you need to add these
138 lines to your <tt>${HOME}/.hgrc</tt> file:
139 <blockquote>
140 <tt>
141 [extensions]
142 <br>forest = <i>YourHgForest</i>/forest.py
143 </tt>
144 </blockquote>
145 129
146 <!-- ------------------------------------------------------ --> 130 <!-- ------------------------------------------------------ -->
147 <h3><a name="get_source">Getting the Source</a></h3> 131 <h3><a name="get_source">Getting the Source</a></h3>
148 <blockquote> 132 <blockquote>
149 To get the entire set of OpenJDK Mercurial repositories 133 To get the entire set of OpenJDK Mercurial repositories
150 using the Forest Extension: 134 use the script <code>get_source.sh</code> located in the root repository:
151 <blockquote> 135 <blockquote>
152 <tt> 136 <tt>
153 hg fclone http://hg.openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i> 137 hg clone http://hg.openjdk.java.net/jdk8/jdk8 <i>YourOpenJDK</i>
154 </tt>
155 </blockquote>
156 To get the entire set of OpenJDK Mercurial repositories
157 without using the Forest Extension:
158 <blockquote>
159 <tt>
160 hg clone http://hg.openjdk.java.net/jdk7/jdk7 <i>YourOpenJDK</i>
161 <br>cd <i>YourOpenJDK</i> 138 <br>cd <i>YourOpenJDK</i>
162 <br>sh ./get_source.sh 139 <br>sh ./get_source.sh
163 </tt> 140 </tt>
164 </blockquote> 141 </blockquote>
165 Once you have all the repositories, the 142 Once you have all the repositories, the
170 <tt> 147 <tt>
171 cd <i>YourOpenJDK</i> 148 cd <i>YourOpenJDK</i>
172 <br>sh ./make/scripts/hgforest.sh pull -u 149 <br>sh ./make/scripts/hgforest.sh pull -u
173 </tt> 150 </tt>
174 </blockquote> 151 </blockquote>
175 You may find this script <tt>make/scripts/hgforest.sh</tt> faster
176 than the <tt>hg</tt> forest commands provided by the
177 Forest Extension.
178 </blockquote> 152 </blockquote>
179 153
180 </blockquote> 154 </blockquote>
181 155
182 <!-- ------------------------------------------------------ --> 156 <!-- ------------------------------------------------------ -->
556 website. 530 website.
557 There are many reasons for this current mechanism, and it is 531 There are many reasons for this current mechanism, and it is
558 understood that this is not ideal for the open source community. 532 understood that this is not ideal for the open source community.
559 It is possible this process could change in the future. 533 It is possible this process could change in the future.
560 <br> 534 <br>
561 <b>NOTE:</b> The <a href="http://download.java.net/openjdk/jdk7/"> 535 <b>NOTE:</b> The <a href="http://download.java.net/openjdk/jdk8/">
562 Complete OpenJDK Source Bundles</a> <u>will</u> contain the JAXP and 536 Complete OpenJDK Source Bundles</a> <u>will</u> contain the JAXP and
563 JAX-WS sources. 537 JAX-WS sources.
564 </p> 538 </p>
565 539
566 <h4><a name="dropcreation">Creation of New Source Drop Bundles</a></h4> 540 <h4><a name="dropcreation">Creation of New Source Drop Bundles</a></h4>
576 and do any filtering or java re-packaging for the 550 and do any filtering or java re-packaging for the
577 OpenJDK instances of these classes. 551 OpenJDK instances of these classes.
578 </li> 552 </li>
579 <li> 553 <li>
580 The OpenJDK team copies this new bundle into shared 554 The OpenJDK team copies this new bundle into shared
581 area (e.g. <tt>/java/devtools/share/jdk7-drops</tt>). 555 area (e.g. <tt>/java/devtools/share/jdk8-drops</tt>).
582 Older bundles are never deleted so we retain the history. 556 Older bundles are never deleted so we retain the history.
583 </li> 557 </li>
584 <li> 558 <li>
585 The OpenJDK team edits the ant property file 559 The OpenJDK team edits the ant property file
586 <tt>jaxp/jaxp.properties</tt> or 560 <tt>jaxp/jaxp.properties</tt> or
1724 <dt><tt><a name="ALT_DROPS_DIR">ALT_DROPS_DIR</a></tt> </dt> 1698 <dt><tt><a name="ALT_DROPS_DIR">ALT_DROPS_DIR</a></tt> </dt>
1725 <dd> 1699 <dd>
1726 The location of any source drop bundles 1700 The location of any source drop bundles
1727 (see <a href="#drops">Managing the Source Drops</a>). 1701 (see <a href="#drops">Managing the Source Drops</a>).
1728 The default will be 1702 The default will be
1729 <tt>$(ALT_JDK_DEVTOOLS_PATH)/share/jdk7-drops</tt>. 1703 <tt>$(ALT_JDK_DEVTOOLS_PATH)/share/jdk8-drops</tt>.
1730 </dd> 1704 </dd>
1731 <dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt> 1705 <dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
1732 <dd> 1706 <dd>
1733 <strong>Solaris only:</strong> 1707 <strong>Solaris only:</strong>
1734 An override for specifying where the Unix CCS 1708 An override for specifying where the Unix CCS
1929 <li> 1903 <li>
1930 You need to use vsvars32.bat or vsvars64.bat to get the 1904 You need to use vsvars32.bat or vsvars64.bat to get the
1931 PATH, INCLUDE, LIB, LIBPATH, and WINDOWSSDKDIR 1905 PATH, INCLUDE, LIB, LIBPATH, and WINDOWSSDKDIR
1932 variables set in your shell environment. 1906 variables set in your shell environment.
1933 These bat files are not easy to use from a shell environment. 1907 These bat files are not easy to use from a shell environment.
1934 However, there is a script placed in the root jdk7 repository called 1908 However, there is a script placed in the root jdk8 repository called
1935 vsvars.sh that can help, it should only be done once in a shell 1909 vsvars.sh that can help, it should only be done once in a shell
1936 that will be doing the build, e.g.<br> 1910 that will be doing the build, e.g.<br>
1937 <tt>sh ./make/scripts/vsvars.sh -v10 > settings<br> 1911 <tt>sh ./make/scripts/vsvars.sh -v10 > settings<br>
1938 eval `cat settings`</tt><br> 1912 eval `cat settings`</tt><br>
1939 Or just <tt>eval `sh ./make/scripts/vsvars.sh -v10`</tt>. 1913 Or just <tt>eval `sh ./make/scripts/vsvars.sh -v10`</tt>.

mercurial