author | jjg |
Fri, 11 Dec 2009 14:26:27 -0800 | |
changeset 4548 | bc0d5b3c3b2d |
parent 4415 | 7d4f73717fba |
child 5002 | 12a9e8562200 |
permissions | -rw-r--r-- |
10 | 1 |
# |
2212 | 2 |
# Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved. |
10 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Sun designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Sun in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
# have any questions. |
|
24 |
# |
|
25 |
||
26 |
# This is the JDK used to build and run the bootstrap version of javac. |
|
27 |
# The bootstrap javac is used to compile both boostrap versions of the |
|
28 |
# other tools, and product versions of all the tools. |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
29 |
# Override this path as needed, either on the command line or in |
10 | 30 |
# one of the standard user build.properties files (see build.xml) |
31 |
||
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
32 |
# boot.java.home = /opt/jdk/1.6.0 |
10 | 33 |
boot.java = ${boot.java.home}/bin/java |
34 |
boot.javac = ${boot.java.home}/bin/javac |
|
2982 | 35 |
boot.javac.source = 6 |
36 |
boot.javac.target = 6 |
|
10 | 37 |
|
38 |
# This is the JDK used to run the product version of the tools, |
|
39 |
# for example, for testing. If you're building a complete JDK, specify that. |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
40 |
# Override this path as needed, either on the command line or in |
10 | 41 |
# one of the standard user build.properties files (see build.xml) |
42 |
||
3565
be4461e75d68
6870743: update comments in langtools/make/build.properties
jjg
parents:
3379
diff
changeset
|
43 |
# target.java.home = /opt/jdk/1.7.0 |
10 | 44 |
target.java = ${target.java.home}/bin/java |
45 |
||
46 |
# Version info -- override as needed |
|
47 |
jdk.version = 1.7.0 |
|
48 |
build.number = b00 |
|
49 |
milestone = internal |
|
50 |
||
51 |
# FIXME -- these need to match the standard values |
|
52 |
# If we include date in full.version (ie for developer build) |
|
53 |
# we will need to make sure the build is idempotent (i.e. |
|
54 |
# repeated builds don't rebuild the tools, because of new |
|
55 |
# timestamps |
|
56 |
# FIXME -- need to include openjdk as needed |
|
57 |
release = ${jdk.version}-${milestone} |
|
58 |
bootstrap.release = ${release}_bootstrap |
|
59 |
full.version = ${release}-${build.number} |
|
60 |
bootstrap.full.version = ${bootstrap.release}-${build.number} |
|
61 |
||
62 |
# options for the <javac> tasks used to compile the tools |
|
3379
e37ab7805402
6854244: change source/target used to compile JDK to 7
jjg
parents:
3378
diff
changeset
|
63 |
javac.source = 7 |
e37ab7805402
6854244: change source/target used to compile JDK to 7
jjg
parents:
3378
diff
changeset
|
64 |
javac.target = 7 |
10 | 65 |
javac.debug = true |
66 |
javac.debuglevel = source,lines |
|
67 |
javac.no.jdk.warnings = -XDignore.symbol.file=true |
|
68 |
# set the following to -version to verify the versions of javac being used |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
69 |
javac.version.opt = |
10 | 70 |
# in time, there should be no exceptions to -Xlint:all |
3378 | 71 |
javac.lint.opts = -Xlint:all,-deprecation -Werror |
10 | 72 |
|
73 |
# options for the <javadoc> task for javac |
|
74 |
javadoc.jls3.url=http://java.sun.com/docs/books/jls/ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
75 |
javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> |
10 | 76 |
javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:" |
77 |
||
78 |
# jtreg, used to run the JDK regression tests |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
79 |
# Override this path as needed, either on the command line or in |
10 | 80 |
# one of the standard user build.properties files (see build.xml) |
81 |
||
82 |
# jtreg.home = /opt/jtreg/3.2.2_02 |
|
83 |
||
84 |
# findbugs |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
85 |
# Override this path as needed, either on the command line or in |
10 | 86 |
# one of the standard user build.properties files (see build.xml) |
87 |
||
88 |
# findbugs.home = /opt/findbugs/1.2.1 |
|
89 |
||
90 |
#------------------------------------------------------------ |
|
91 |
||
92 |
# The following properties define the packages for each of the tools. |
|
93 |
# Syntactically, they should be suitable as arguments for the "includes" |
|
94 |
# parameter of Ant filesets. In particular, note the trailing '/'. |
|
95 |
||
96 |
javac.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
97 |
javax/annotation/processing/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
98 |
javax/lang/model/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
99 |
javax/tools/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
100 |
com/sun/source/ com/sun/tools/javac/ |
10 | 101 |
|
102 |
javac.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
103 |
tools/javac |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
104 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
105 |
# |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
106 |
|
10 | 107 |
javadoc.includes = \ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
108 |
com/sun/javadoc/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
109 |
com/sun/tools/javadoc/ |
10 | 110 |
|
111 |
javadoc.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
112 |
tools/javadoc/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
113 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
114 |
# |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
115 |
|
10 | 116 |
doclets.includes = \ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
117 |
com/sun/tools/doclets/ |
10 | 118 |
|
119 |
doclets.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
120 |
com/sun/javadoc/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
121 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
122 |
# |
10 | 123 |
|
124 |
javah.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
125 |
com/sun/tools/javah/ |
10 | 126 |
|
127 |
javah.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
128 |
tools/javah/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
129 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
130 |
# |
10 | 131 |
|
132 |
javap.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
133 |
com/sun/tools/classfile/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
134 |
com/sun/tools/javap/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
135 |
sun/tools/javap/ |
10 | 136 |
|
137 |
javap.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
138 |
tools/javap/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
139 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
140 |
# |
10 | 141 |
|
142 |
apt.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
143 |
com/sun/mirror/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
144 |
com/sun/tools/apt/ |
10 | 145 |
|
146 |
apt.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
147 |
tools/apt/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
148 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
149 |
# |
10 | 150 |
|
4415
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
151 |
# The following files require the import JDK to be available |
4548 | 152 |
require.import.jdk.files = \ |
153 |
com/sun/tools/javac/nio/*.java |
|
4415
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
154 |
|
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
155 |
# The following files in the import jdk source directory are required |
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
156 |
# in order to compile the files defined in ${require.import.jdk.files} |
4548 | 157 |
# |
158 |
# For NIO, the list of stub files is defined by the contents of the primary |
|
159 |
# API packages, together with such types that may be required in order to |
|
160 |
# compile the stubs. Some of these dependencies would go away if the stub |
|
161 |
# generator were to be improved -- e.g. by removing unnecessary imports. |
|
162 |
# |
|
163 |
import.jdk.stub.files = \ |
|
164 |
java/io/File.java \ |
|
165 |
java/nio/file/**.java \ |
|
166 |
java/nio/file/attribute/**.java \ |
|
167 |
java/nio/file/spi/**.java \ |
|
168 |
java/nio/channels/AsynchronousChannel.java \ |
|
169 |
java/nio/channels/AsynchronousFileChannel.java \ |
|
170 |
java/nio/channels/CompletionHandler.java \ |
|
171 |
java/nio/channels/SeekableByteChannel.java |
|
4415
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
172 |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
173 |
# The following value is used by the main jtreg target. |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
174 |
# An empty value means all tests |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
175 |
# Override as desired to run a specific set of tests |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
176 |
jtreg.tests = |