blob: 5c4ad09c1357d0747b54f8f0ab47b16bcbddb3b4 [file] [log] [blame]
J. Dukef57b87e2007-12-01 00:00:00 +00001#
Kelly O'Hair84b58752010-12-28 15:54:52 -08002# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
J. Dukef57b87e2007-12-01 00:00:00 +00003# 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
Kelly O'Hairbd4f4be2010-05-25 15:54:51 -07007# published by the Free Software Foundation. Oracle designates this
J. Dukef57b87e2007-12-01 00:00:00 +00008# particular file as subject to the "Classpath" exception as provided
Kelly O'Hairbd4f4be2010-05-25 15:54:51 -07009# by Oracle in the LICENSE file that accompanied this code.
J. Dukef57b87e2007-12-01 00:00:00 +000010#
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#
Kelly O'Hairbd4f4be2010-05-25 15:54:51 -070021# 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.
J. Dukef57b87e2007-12-01 00:00:00 +000024#
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.
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070029# Override this path as needed, either on the command line or in
J. Dukef57b87e2007-12-01 00:00:00 +000030# one of the standard user build.properties files (see build.xml)
31
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070032# boot.java.home = /opt/jdk/1.6.0
J. Dukef57b87e2007-12-01 00:00:00 +000033boot.java = ${boot.java.home}/bin/java
34boot.javac = ${boot.java.home}/bin/javac
Jonathan Gibbons6fbe9f92009-05-20 13:36:23 -070035boot.javac.source = 6
36boot.javac.target = 6
J. Dukef57b87e2007-12-01 00:00:00 +000037
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.
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070040# Override this path as needed, either on the command line or in
J. Dukef57b87e2007-12-01 00:00:00 +000041# one of the standard user build.properties files (see build.xml)
42
Jonathan Gibbons46c42f22009-08-11 18:35:05 -070043# target.java.home = /opt/jdk/1.7.0
J. Dukef57b87e2007-12-01 00:00:00 +000044target.java = ${target.java.home}/bin/java
45
46# Version info -- override as needed
47jdk.version = 1.7.0
48build.number = b00
49milestone = 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
57release = ${jdk.version}-${milestone}
58bootstrap.release = ${release}_bootstrap
59full.version = ${release}-${build.number}
60bootstrap.full.version = ${bootstrap.release}-${build.number}
61
62# options for the <javac> tasks used to compile the tools
Jonathan Gibbonsb84cd5a2009-07-27 15:20:03 -070063javac.source = 7
64javac.target = 7
J. Dukef57b87e2007-12-01 00:00:00 +000065javac.debug = true
66javac.debuglevel = source,lines
67javac.no.jdk.warnings = -XDignore.symbol.file=true
68# set the following to -version to verify the versions of javac being used
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070069javac.version.opt =
J. Dukef57b87e2007-12-01 00:00:00 +000070# in time, there should be no exceptions to -Xlint:all
Joe Darcy55dc8eb2009-07-26 21:27:11 -070071javac.lint.opts = -Xlint:all,-deprecation -Werror
J. Dukef57b87e2007-12-01 00:00:00 +000072
73# options for the <javadoc> task for javac
Jim Holmlunde9456bc2011-04-13 11:35:43 -070074#javadoc.jls3.url=http://java.sun.com/docs/books/jls/
75#javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;
76#javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
77
78
79javadoc.jls.cite=The Java&trade; Language Specification
80
81javadoc.jls.option=-tag "jls:a:See &lt;cite&gt;${javadoc.jls.cite}&lt;/cite&gt;:"
82
83
84
85
J. Dukef57b87e2007-12-01 00:00:00 +000086
87# jtreg, used to run the JDK regression tests
Jonathan Gibbonsc8cce212010-06-04 14:54:54 -070088# See http://openjdk.java.net/jtreg/
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070089# Override this path as needed, either on the command line or in
J. Dukef57b87e2007-12-01 00:00:00 +000090# one of the standard user build.properties files (see build.xml)
91
Jonathan Gibbonsc8cce212010-06-04 14:54:54 -070092# jtreg.home = /opt/jtreg/4.1
J. Dukef57b87e2007-12-01 00:00:00 +000093
94# findbugs
Jonathan Gibbonsc8cce212010-06-04 14:54:54 -070095# See http://findbugs.sourceforge.net/
Jonathan Gibbonsb9530302009-08-12 07:54:30 -070096# Override this path as needed, either on the command line or in
J. Dukef57b87e2007-12-01 00:00:00 +000097# one of the standard user build.properties files (see build.xml)
98
99# findbugs.home = /opt/findbugs/1.2.1
100
Jonathan Gibbonsc8cce212010-06-04 14:54:54 -0700101# 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
J. Dukef57b87e2007-12-01 00:00:00 +0000109#------------------------------------------------------------
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
115javac.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700116 javax/annotation/processing/ \
117 javax/lang/model/ \
118 javax/tools/ \
Tom Ball985efdc2010-07-16 19:35:24 -0700119 com/sun/source/ \
120 com/sun/tools/javac/
J. Dukef57b87e2007-12-01 00:00:00 +0000121
122javac.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700123 tools/javac
124
125#
126
J. Dukef57b87e2007-12-01 00:00:00 +0000127javadoc.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700128 com/sun/javadoc/ \
129 com/sun/tools/javadoc/
J. Dukef57b87e2007-12-01 00:00:00 +0000130
131javadoc.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700132 tools/javadoc/
133
134#
135
J. Dukef57b87e2007-12-01 00:00:00 +0000136doclets.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700137 com/sun/tools/doclets/
J. Dukef57b87e2007-12-01 00:00:00 +0000138
139doclets.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700140 com/sun/javadoc/
141
142#
J. Dukef57b87e2007-12-01 00:00:00 +0000143
144javah.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700145 com/sun/tools/javah/
J. Dukef57b87e2007-12-01 00:00:00 +0000146
147javah.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700148 tools/javah/
149
150#
J. Dukef57b87e2007-12-01 00:00:00 +0000151
152javap.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700153 com/sun/tools/classfile/ \
154 com/sun/tools/javap/ \
155 sun/tools/javap/
J. Dukef57b87e2007-12-01 00:00:00 +0000156
157javap.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700158 tools/javap/
159
160#
J. Dukef57b87e2007-12-01 00:00:00 +0000161
162apt.includes = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700163 com/sun/mirror/ \
164 com/sun/tools/apt/
J. Dukef57b87e2007-12-01 00:00:00 +0000165
166apt.tests = \
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700167 tools/apt/
J. Dukef57b87e2007-12-01 00:00:00 +0000168
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700169#
170
Jonathan Gibbonsaa58d212010-06-04 17:33:25 -0700171# The following files require the latest JDK to be available.
172# The API can be provided by using a suitable boot.java.home
173# or by setting import.jdk
174require.latest.jdk.files = \
Jonathan Gibbons75f1fee2009-12-11 14:26:27 -0800175 com/sun/tools/javac/nio/*.java
Jonathan Gibbons42bf8342009-11-20 11:18:43 -0800176
177# The following files in the import jdk source directory are required
Jonathan Gibbonsaa58d212010-06-04 17:33:25 -0700178# in order to compile the files defined in ${require.latest.jdk.files}
Jonathan Gibbons75f1fee2009-12-11 14:26:27 -0800179#
180# For NIO, the list of stub files is defined by the contents of the primary
181# API packages, together with such types that may be required in order to
182# compile the stubs. Some of these dependencies would go away if the stub
183# generator were to be improved -- e.g. by removing unnecessary imports.
184#
185import.jdk.stub.files = \
186 java/io/File.java \
187 java/nio/file/**.java \
188 java/nio/file/attribute/**.java \
189 java/nio/file/spi/**.java \
190 java/nio/channels/AsynchronousChannel.java \
191 java/nio/channels/AsynchronousFileChannel.java \
192 java/nio/channels/CompletionHandler.java \
193 java/nio/channels/SeekableByteChannel.java
Jonathan Gibbons42bf8342009-11-20 11:18:43 -0800194
Jonathan Gibbonsb9530302009-08-12 07:54:30 -0700195# The following value is used by the main jtreg target.
196# An empty value means all tests
197# Override as desired to run a specific set of tests
198jtreg.tests =