18 |
itself. Because the JDK version matters and because different |
itself. Because the JDK version matters and because different |
19 |
targets require different JDKs, we assume that users have created a |
targets require different JDKs, we assume that users have created a |
20 |
hierarchy containing: |
hierarchy containing: |
|
$HOME/jdk/jdk6 |
|
21 |
$HOME/jdk/jdk7 |
$HOME/jdk/jdk7 |
22 |
$HOME/jdk/jdk8 |
$HOME/jdk/jdk8 |
23 |
$HOME/jdk/jdk9 |
$HOME/jdk/jdk9 |
24 |
|
$HOME/jdk/jdk10 |
25 |
where each of the above is a JDK or a symlink to same, and |
where each of the above is a JDK or a symlink to same, and |
|
$HOME/jdk/src/jdk6 |
|
26 |
$HOME/jdk/src/jdk7 |
$HOME/jdk/src/jdk7 |
27 |
$HOME/jdk/src/jdk8 |
$HOME/jdk/src/jdk8 |
28 |
$HOME/jdk/src/jdk9 |
$HOME/jdk/src/jdk9 |
29 |
|
$HOME/jdk/src/jdk10 |
30 |
where each of the above is a complete JDK source tree |
where each of the above is a complete JDK source tree |
31 |
(e.g. mercurial forest) or a symlink to same. |
(e.g. mercurial forest) or a symlink to same. |
32 |
|
|
33 |
Alternatively, define ant variables thus: |
Alternatively, define ant variables thus: |
34 |
ant -Djdk$N.home=... -Djdk$N.src.home=... |
ant -Djdk$N.home=... -Djdk$N.src.home=... |
35 |
for $N in 6 7 8 9 ... |
for $N in 7 8 9 10 ... |
36 |
|
|
37 |
As of 2016-03, the sources in src/main are for jdk9+ only. The "docs" |
As of 2016-03, the sources in src/main are for jdk9+ only. |
|
target is currently broken. |
|
38 |
------------------------------------------------------------------------------ |
------------------------------------------------------------------------------ |
39 |
</description> |
</description> |
40 |
|
|
133 |
<defjdklocations v="7"/> |
<defjdklocations v="7"/> |
134 |
<defjdklocations v="8"/> |
<defjdklocations v="8"/> |
135 |
<defjdklocations v="9"/> |
<defjdklocations v="9"/> |
136 |
|
<defjdklocations v="10"/> |
137 |
|
|
138 |
<!-- Source locations --> |
<!-- Source locations --> |
139 |
<property name="src.dir" location="${basedir}/src/main"/> |
<property name="src.dir" location="${basedir}/src/main"/> |
143 |
<property name="jtreg7.src.dir" location="${test.src.dir}/jtreg-jdk7"/> |
<property name="jtreg7.src.dir" location="${test.src.dir}/jtreg-jdk7"/> |
144 |
<property name="jtreg8.src.dir" location="${test.src.dir}/jtreg-jdk8"/> |
<property name="jtreg8.src.dir" location="${test.src.dir}/jtreg-jdk8"/> |
145 |
<property name="jtreg9.src.dir" location="${test.src.dir}/jtreg"/> |
<property name="jtreg9.src.dir" location="${test.src.dir}/jtreg"/> |
146 |
|
<property name="jtreg10.src.dir" location="${test.src.dir}/jtreg"/> |
147 |
<property name="jtreg.src.dir" location="${jtreg9.src.dir}"/> |
<property name="jtreg.src.dir" location="${jtreg9.src.dir}"/> |
148 |
<property name="lib.dir" location="${basedir}/lib"/> |
<property name="lib.dir" location="${basedir}/lib"/> |
149 |
<property name="dist.dir" location="${basedir}/dist"/> |
<property name="dist.dir" location="${basedir}/dist"/> |