21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 |
22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 # This is the JDK used to build and run the bootstrap version of javac. |
26 #javac configuration for "normal build" (these will be passed to the bootstrap compiler): |
27 # The bootstrap javac is used to compile both boostrap versions of the |
27 javac.debug = true |
28 # other tools, and product versions of all the tools. |
28 javac.debuglevel = source,lines,vars |
29 # Override this path as needed, either on the command line or in |
29 javac.extra.opts=-XDignore.symbol.file=true |
30 # one of the standard user build.properties files (see build.xml) |
30 javac.includes= |
|
31 javac.lint.opts = -Xlint:all,-deprecation -Werror |
|
32 javac.source = 8 |
|
33 javac.target = 8 |
31 |
34 |
32 # boot.java.home = /opt/jdk/1.7.0 |
35 #javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK): |
33 boot.java = ${boot.java.home}/bin/java |
36 boot.javac.extra.opts=-XDignore.symbol.file=true |
34 boot.javac = ${boot.java.home}/bin/javac |
37 boot.javac.includes = \ |
|
38 javax/annotation/processing/ \ |
|
39 javax/lang/model/ \ |
|
40 javax/tools/ \ |
|
41 jdk/ \ |
|
42 com/sun/source/ \ |
|
43 com/sun/tools/javac/ \ |
|
44 com/sun/tools/doclint/ |
|
45 boot.javac.lint.opts= |
35 boot.javac.source = 8 |
46 boot.javac.source = 8 |
36 boot.javac.target = 8 |
47 boot.javac.target = 8 |
37 |
48 |
38 # This is the JDK used to run the product version of the tools, |
49 #configuration of submodules (share by both the bootstrap and normal compilation): |
39 # for example, for testing. If you're building a complete JDK, specify that. |
50 langtools.modules=java.base:java.compiler:jdk.compiler:jdk.dev:jdk.javadoc |
40 # Override this path as needed, either on the command line or in |
51 java.base.dependencies= |
41 # one of the standard user build.properties files (see build.xml) |
52 java.compiler.dependencies=java.base |
|
53 jdk.compiler.dependencies=java.base:java.compiler |
|
54 jdk.javadoc.dependencies=java.base:java.compiler:jdk.compiler |
|
55 jdk.dev.dependencies=java.base:java.compiler:jdk.compiler |
42 |
56 |
43 # target.java.home = /opt/jdk/1.8.0 |
57 #test configuration: |
44 target.java = ${target.java.home}/bin/java |
58 jtreg.tests= |
|
59 boot.javac.tests = tools/javac |
|
60 crules.tests = ../make/test/crules |
|
61 |
|
62 #javadoc configuration |
|
63 javadoc.jls.cite=The Java™ Language Specification |
|
64 javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \ |
|
65 -tag "implNote:a:Implementation Note:" |
45 |
66 |
46 # Version info -- override as needed |
67 # Version info -- override as needed |
47 jdk.version = 1.9.0 |
68 jdk.version = 1.9.0 |
48 build.number = b00 |
69 build.number = b00 |
49 milestone = internal |
70 milestone = internal |
53 # we will need to make sure the build is idempotent (i.e. |
74 # we will need to make sure the build is idempotent (i.e. |
54 # repeated builds don't rebuild the tools, because of new |
75 # repeated builds don't rebuild the tools, because of new |
55 # timestamps |
76 # timestamps |
56 # FIXME -- need to include openjdk as needed |
77 # FIXME -- need to include openjdk as needed |
57 release = ${jdk.version}-${milestone} |
78 release = ${jdk.version}-${milestone} |
58 bootstrap.release = ${release}_bootstrap |
|
59 full.version = ${release}-${build.number} |
79 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,-deprecation -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 com/sun/tools/doclets/ |
|
133 |
|
134 javadoc.tests = \ |
|
135 tools/javadoc/ \ |
|
136 com/sun/javadoc/ |
|
137 |
|
138 # |
|
139 |
|
140 javah.includes = \ |
|
141 com/sun/tools/javah/ |
|
142 |
|
143 javah.tests = \ |
|
144 tools/javah/ |
|
145 |
|
146 # |
|
147 |
|
148 javap.includes = \ |
|
149 com/sun/tools/classfile/ \ |
|
150 com/sun/tools/javap/ \ |
|
151 com/sun/tools/jdeps/ \ |
|
152 sun/tools/javap/ |
|
153 |
|
154 javap.tests = \ |
|
155 tools/javap/ |
|
156 |
|
157 # |
|
158 |
|
159 sjavac.includes = \ |
|
160 com/sun/tools/sjavac/ |
|
161 |
|
162 sjavac.tests = \ |
|
163 tools/sjavac |
|
164 |
|
165 crules.tests = ../make/test/crules |
|
166 |
|
167 # |
|
168 |
|
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 = \ |
|
173 com/sun/tools/javac/nio/*.java |
|
174 |
|
175 # The following files in the import jdk source directory are required |
|
176 # in order to compile the files defined in ${require.latest.jdk.files} |
|
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 |
|
192 |
|
193 # The following value is used by the main jtreg target. |
|
194 # An empty value means all tests |
|
195 # Override as desired to run a specific set of tests |
|
196 jtreg.tests = |
|
197 |
|
198 # Check style configuration |
|
199 # overridable name and version |
|
200 checkstyle.name.version = checkstyle-5.4 |
|