|
1 # |
|
2 # Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. |
|
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. Oracle designates this |
|
8 # particular file as subject to the "Classpath" exception as provided |
|
9 # by Oracle 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 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. |
|
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. |
|
29 # Override this path as needed, either on the command line or in |
|
30 # one of the standard user build.properties files (see build.xml) |
|
31 |
|
32 # boot.java.home = /opt/jdk/1.7.0 |
|
33 boot.java = ${boot.java.home}/bin/java |
|
34 boot.javac = ${boot.java.home}/bin/javac |
|
35 boot.javac.source = 7 |
|
36 boot.javac.target = 7 |
|
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. |
|
40 # Override this path as needed, either on the command line or in |
|
41 # one of the standard user build.properties files (see build.xml) |
|
42 |
|
43 # target.java.home = /opt/jdk/1.8.0 |
|
44 target.java = ${target.java.home}/bin/java |
|
45 |
|
46 # Version info -- override as needed |
|
47 jdk.version = 1.8.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 |
|
63 javac.source = 8 |
|
64 javac.target = 8 |
|
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 |
|
69 javac.version.opt = |
|
70 # in time, there should be no exceptions to -Xlint:all |
|
71 javac.lint.opts = -Xlint:all -Werror |
|
72 |
|
73 # options for the <javadoc> task for javac |
|
74 #javadoc.jls3.url=http://java.sun.com/docs/books/jls/ |
|
75 #javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> |
|
76 #javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:" |
|
77 |
|
78 |
|
79 javadoc.jls.cite=The Java™ Language Specification |
|
80 |
|
81 javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" |
|
82 |
|
83 |
|
84 |
|
85 |
|
86 |
|
87 # jtreg, used to run the JDK regression tests |
|
88 # See http://openjdk.java.net/jtreg/ |
|
89 # Override this path as needed, either on the command line or in |
|
90 # one of the standard user build.properties files (see build.xml) |
|
91 |
|
92 # jtreg.home = /opt/jtreg/4.1 |
|
93 |
|
94 # findbugs |
|
95 # See http://findbugs.sourceforge.net/ |
|
96 # Override this path as needed, either on the command line or in |
|
97 # one of the standard user build.properties files (see build.xml) |
|
98 |
|
99 # findbugs.home = /opt/findbugs/1.2.1 |
|
100 |
|
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 |
|
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 = \ |
|
116 javax/annotation/processing/ \ |
|
117 javax/lang/model/ \ |
|
118 javax/tools/ \ |
|
119 jdk/ \ |
|
120 com/sun/source/ \ |
|
121 com/sun/tools/javac/ \ |
|
122 com/sun/tools/doclint/ |
|
123 |
|
124 javac.tests = \ |
|
125 tools/javac |
|
126 |
|
127 # |
|
128 |
|
129 javadoc.includes = \ |
|
130 com/sun/javadoc/ \ |
|
131 com/sun/tools/javadoc/ |
|
132 |
|
133 javadoc.tests = \ |
|
134 tools/javadoc/ |
|
135 |
|
136 # |
|
137 |
|
138 doclets.includes = \ |
|
139 com/sun/tools/doclets/ |
|
140 |
|
141 doclets.tests = \ |
|
142 com/sun/javadoc/ |
|
143 |
|
144 # |
|
145 |
|
146 javah.includes = \ |
|
147 com/sun/tools/javah/ |
|
148 |
|
149 javah.tests = \ |
|
150 tools/javah/ |
|
151 |
|
152 # |
|
153 |
|
154 javap.includes = \ |
|
155 com/sun/tools/classfile/ \ |
|
156 com/sun/tools/javap/ \ |
|
157 com/sun/tools/jdeps/ \ |
|
158 sun/tools/javap/ |
|
159 |
|
160 javap.tests = \ |
|
161 tools/javap/ |
|
162 |
|
163 # |
|
164 |
|
165 sjavac.includes = \ |
|
166 com/sun/tools/sjavac/ |
|
167 |
|
168 sjavac.tests = \ |
|
169 tools/sjavac |
|
170 |
|
171 # |
|
172 |
|
173 # The following files require the latest JDK to be available. |
|
174 # The API can be provided by using a suitable boot.java.home |
|
175 # or by setting import.jdk |
|
176 require.latest.jdk.files = \ |
|
177 com/sun/tools/javac/nio/*.java |
|
178 |
|
179 # The following files in the import jdk source directory are required |
|
180 # in order to compile the files defined in ${require.latest.jdk.files} |
|
181 # |
|
182 # For NIO, the list of stub files is defined by the contents of the primary |
|
183 # API packages, together with such types that may be required in order to |
|
184 # compile the stubs. Some of these dependencies would go away if the stub |
|
185 # generator were to be improved -- e.g. by removing unnecessary imports. |
|
186 # |
|
187 import.jdk.stub.files = \ |
|
188 java/io/File.java \ |
|
189 java/nio/file/**.java \ |
|
190 java/nio/file/attribute/**.java \ |
|
191 java/nio/file/spi/**.java \ |
|
192 java/nio/channels/AsynchronousChannel.java \ |
|
193 java/nio/channels/AsynchronousFileChannel.java \ |
|
194 java/nio/channels/CompletionHandler.java \ |
|
195 java/nio/channels/SeekableByteChannel.java |
|
196 |
|
197 # The following value is used by the main jtreg target. |
|
198 # An empty value means all tests |
|
199 # Override as desired to run a specific set of tests |
|
200 jtreg.tests = |
|
201 |
|
202 # Check style configuration |
|
203 # overridable name and version |
|
204 checkstyle.name.version = checkstyle-5.4 |