author | sla |
Thu, 13 Nov 2014 07:58:28 +0100 | |
changeset 27622 | 38913dc333ed |
parent 27224 | 228abfa87080 |
child 27546 | 79b6b60ff60a |
permissions | -rw-r--r-- |
10 | 1 |
# |
25848
3bc09f4676a9
8043643: Add an crules analyzer avoiding string concatenation in messages of Assert checks.
jlahoda
parents:
21041
diff
changeset
|
2 |
# Copyright (c) 2007, 2014, Oracle and/or its affiliates. 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 |
|
5520 | 7 |
# published by the Free Software Foundation. Oracle designates this |
10 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5520 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
10 | 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 |
# |
|
5520 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
10 | 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 |
||
15368
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
32 |
# boot.java.home = /opt/jdk/1.7.0 |
10 | 33 |
boot.java = ${boot.java.home}/bin/java |
34 |
boot.javac = ${boot.java.home}/bin/javac |
|
27224
228abfa87080
8054457: Refactor Symbol kinds from small ints to an enum
emc
parents:
26268
diff
changeset
|
35 |
boot.javac.source = 8 |
228abfa87080
8054457: Refactor Symbol kinds from small ints to an enum
emc
parents:
26268
diff
changeset
|
36 |
boot.javac.target = 8 |
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 |
||
15368
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
43 |
# target.java.home = /opt/jdk/1.8.0 |
10 | 44 |
target.java = ${target.java.home}/bin/java |
45 |
||
46 |
# Version info -- override as needed |
|
26264
a09fedde76be
8044859: javac duplicates option processing when using Compiler API
jjg
parents:
26100
diff
changeset
|
47 |
jdk.version = 1.9.0 |
10 | 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 |
|
18661
9dedda2ba49a
7080001: Need to bump version numbers in build.properties for 8
ksrini
parents:
15563
diff
changeset
|
63 |
javac.source = 8 |
9dedda2ba49a
7080001: Need to bump version numbers in build.properties for 8
ksrini
parents:
15563
diff
changeset
|
64 |
javac.target = 8 |
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 |
26100 | 71 |
javac.lint.opts = -Xlint:all,-deprecation -Werror |
10 | 72 |
|
73 |
# options for the <javadoc> task for javac |
|
9303
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
74 |
#javadoc.jls3.url=http://java.sun.com/docs/books/jls/ |
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
75 |
#javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> |
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
76 |
#javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:" |
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
77 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
78 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
79 |
javadoc.jls.cite=The Java™ Language Specification |
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
80 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
81 |
javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" |
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
82 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
83 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
84 |
|
eae35c201e19
7032975: API files in javax.annotation.processing need to be updated for references to JLS
jjh
parents:
7681
diff
changeset
|
85 |
|
10 | 86 |
|
87 |
# jtreg, used to run the JDK regression tests |
|
5844 | 88 |
# See http://openjdk.java.net/jtreg/ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
89 |
# Override this path as needed, either on the command line or in |
10 | 90 |
# one of the standard user build.properties files (see build.xml) |
91 |
||
5844 | 92 |
# jtreg.home = /opt/jtreg/4.1 |
10 | 93 |
|
94 |
# findbugs |
|
5844 | 95 |
# See http://findbugs.sourceforge.net/ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
96 |
# Override this path as needed, either on the command line or in |
10 | 97 |
# one of the standard user build.properties files (see build.xml) |
98 |
||
99 |
# findbugs.home = /opt/findbugs/1.2.1 |
|
100 |
||
5844 | 101 |
# vizant (graph visualization tool for Ant) |
102 |
# See http://vizant.sourceforge.net/ |
|
103 |
# Override this path as needed, either on the command line or in |
|
104 |
# one of the standard user build.properties files (see build.xml) |
|
105 |
||
106 |
# vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar |
|
107 |
# dot = dot |
|
108 |
||
10 | 109 |
#------------------------------------------------------------ |
110 |
||
111 |
# The following properties define the packages for each of the tools. |
|
112 |
# Syntactically, they should be suitable as arguments for the "includes" |
|
113 |
# parameter of Ant filesets. In particular, note the trailing '/'. |
|
114 |
||
115 |
javac.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
116 |
javax/annotation/processing/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
117 |
javax/lang/model/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
118 |
javax/tools/ \ |
15563
7f7adda30698
8001614: Include annotation type to documented supported-ness
darcy
parents:
15368
diff
changeset
|
119 |
jdk/ \ |
6148
3a8158299c51
6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents:
5845
diff
changeset
|
120 |
com/sun/source/ \ |
14952 | 121 |
com/sun/tools/javac/ \ |
122 |
com/sun/tools/doclint/ |
|
10 | 123 |
|
124 |
javac.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
125 |
tools/javac |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
126 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
127 |
# |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
128 |
|
10 | 129 |
javadoc.includes = \ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
130 |
com/sun/javadoc/ \ |
26268
620556167c08
8038732: [javadoc] NetBeans IDE target does not build doclets
ksrini
parents:
26264
diff
changeset
|
131 |
com/sun/tools/javadoc/ \ |
620556167c08
8038732: [javadoc] NetBeans IDE target does not build doclets
ksrini
parents:
26264
diff
changeset
|
132 |
com/sun/tools/doclets/ |
10 | 133 |
|
134 |
javadoc.tests = \ |
|
26268
620556167c08
8038732: [javadoc] NetBeans IDE target does not build doclets
ksrini
parents:
26264
diff
changeset
|
135 |
tools/javadoc/ \ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
136 |
com/sun/javadoc/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
137 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
138 |
# |
10 | 139 |
|
140 |
javah.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
141 |
com/sun/tools/javah/ |
10 | 142 |
|
143 |
javah.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
144 |
tools/javah/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
145 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
146 |
# |
10 | 147 |
|
148 |
javap.includes = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
149 |
com/sun/tools/classfile/ \ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
150 |
com/sun/tools/javap/ \ |
15030
2d8dec41f029
8003562: Provide a CLI tool to analyze class dependencies
mchung
parents:
14961
diff
changeset
|
151 |
com/sun/tools/jdeps/ \ |
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
152 |
sun/tools/javap/ |
10 | 153 |
|
154 |
javap.tests = \ |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
155 |
tools/javap/ |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
156 |
|
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
157 |
# |
10 | 158 |
|
15368
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
159 |
sjavac.includes = \ |
21041 | 160 |
com/sun/tools/sjavac/ |
15368
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
161 |
|
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
162 |
sjavac.tests = \ |
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
163 |
tools/sjavac |
21041 | 164 |
|
25848
3bc09f4676a9
8043643: Add an crules analyzer avoiding string concatenation in messages of Assert checks.
jlahoda
parents:
21041
diff
changeset
|
165 |
crules.tests = ../make/test/crules |
3bc09f4676a9
8043643: Add an crules analyzer avoiding string concatenation in messages of Assert checks.
jlahoda
parents:
21041
diff
changeset
|
166 |
|
15368
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
167 |
# |
2577ddb7e710
8004658: Add internal smart javac wrapper to solve JEP 139
ohrstrom
parents:
15030
diff
changeset
|
168 |
|
5845 | 169 |
# The following files require the latest JDK to be available. |
170 |
# The API can be provided by using a suitable boot.java.home |
|
171 |
# or by setting import.jdk |
|
172 |
require.latest.jdk.files = \ |
|
4548 | 173 |
com/sun/tools/javac/nio/*.java |
4415
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
174 |
|
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
175 |
# The following files in the import jdk source directory are required |
5845 | 176 |
# in order to compile the files defined in ${require.latest.jdk.files} |
4548 | 177 |
# |
178 |
# For NIO, the list of stub files is defined by the contents of the primary |
|
179 |
# API packages, together with such types that may be required in order to |
|
180 |
# compile the stubs. Some of these dependencies would go away if the stub |
|
181 |
# generator were to be improved -- e.g. by removing unnecessary imports. |
|
182 |
# |
|
183 |
import.jdk.stub.files = \ |
|
184 |
java/io/File.java \ |
|
185 |
java/nio/file/**.java \ |
|
186 |
java/nio/file/attribute/**.java \ |
|
187 |
java/nio/file/spi/**.java \ |
|
188 |
java/nio/channels/AsynchronousChannel.java \ |
|
189 |
java/nio/channels/AsynchronousFileChannel.java \ |
|
190 |
java/nio/channels/CompletionHandler.java \ |
|
191 |
java/nio/channels/SeekableByteChannel.java |
|
4415
7d4f73717fba
6902337: fix langtools build to allow forward refs into jdk/ repo
jjg
parents:
3655
diff
changeset
|
192 |
|
3655
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
193 |
# 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
|
194 |
# An empty value means all tests |
f9ee66e780f4
6758471: should be able to set jtreg options in langtools build
jjg
parents:
3565
diff
changeset
|
195 |
# 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
|
196 |
jtreg.tests = |
11054
c4224d65eb3e
7110974: (javac) add coding conventions and style checkers for langtools
ksrini
parents:
9303
diff
changeset
|
197 |
|
c4224d65eb3e
7110974: (javac) add coding conventions and style checkers for langtools
ksrini
parents:
9303
diff
changeset
|
198 |
# Check style configuration |
c4224d65eb3e
7110974: (javac) add coding conventions and style checkers for langtools
ksrini
parents:
9303
diff
changeset
|
199 |
# overridable name and version |
c4224d65eb3e
7110974: (javac) add coding conventions and style checkers for langtools
ksrini
parents:
9303
diff
changeset
|
200 |
checkstyle.name.version = checkstyle-5.4 |