build.properties 6.4 KB
Newer Older
D
duke 已提交
1
#
2
# Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
D
duke 已提交
3 4 5 6
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation.  Oracle designates this
D
duke 已提交
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
D
duke 已提交
10 11 12 13 14 15 16 17 18 19 20
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
21 22 23
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
D
duke 已提交
24 25 26 27 28
#

# This is the JDK used to build and run the bootstrap version of javac.
# The bootstrap javac is used to compile both boostrap versions of the
# other tools, and product versions of all the tools.
29
# Override this path as needed, either on the command line or in
D
duke 已提交
30 31
# one of the standard user build.properties files (see build.xml)

32
# boot.java.home = /opt/jdk/1.7.0
D
duke 已提交
33 34
boot.java = ${boot.java.home}/bin/java
boot.javac = ${boot.java.home}/bin/javac
35 36
boot.javac.source = 7
boot.javac.target = 7
D
duke 已提交
37 38 39

# This is the JDK used to run the product version of the tools,
# 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
D
duke 已提交
41 42
# one of the standard user build.properties files (see build.xml)

43
# target.java.home = /opt/jdk/1.8.0
D
duke 已提交
44 45 46
target.java = ${target.java.home}/bin/java

# Version info -- override as needed
47
jdk.version = 1.8.0
D
duke 已提交
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
build.number = b00
milestone = internal

# FIXME -- these need to match the standard values
# If we include date in full.version (ie for developer build)
# we will need to make sure the build is idempotent (i.e.
# repeated builds don't rebuild the tools, because of new
# timestamps
# FIXME -- need to include openjdk as needed
release = ${jdk.version}-${milestone}
bootstrap.release = ${release}_bootstrap
full.version = ${release}-${build.number}
bootstrap.full.version = ${bootstrap.release}-${build.number}

# options for the <javac> tasks used to compile the tools
63 64
javac.source = 8
javac.target = 8
D
duke 已提交
65 66 67 68
javac.debug = true
javac.debuglevel = source,lines
javac.no.jdk.warnings = -XDignore.symbol.file=true
# set the following to -version to verify the versions of javac being used
69
javac.version.opt =
D
duke 已提交
70
# in time, there should be no exceptions to -Xlint:all
71
javac.lint.opts = -Xlint:all -Werror
D
duke 已提交
72 73

# options for the <javadoc> task for javac
74 75 76 77 78 79 80 81 82 83 84 85
#javadoc.jls3.url=http://java.sun.com/docs/books/jls/
#javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;
#javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"


javadoc.jls.cite=The Java&trade; Language Specification

javadoc.jls.option=-tag "jls:a:See &lt;cite&gt;${javadoc.jls.cite}&lt;/cite&gt;:"




D
duke 已提交
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
D
duke 已提交
90 91
# one of the standard user build.properties files (see build.xml)

92
# jtreg.home = /opt/jtreg/4.1
D
duke 已提交
93 94

# findbugs
95
# See http://findbugs.sourceforge.net/
96
# Override this path as needed, either on the command line or in
D
duke 已提交
97 98 99 100
# one of the standard user build.properties files (see build.xml)

# findbugs.home = /opt/findbugs/1.2.1

101 102 103 104 105 106 107 108
# vizant (graph visualization tool for Ant)
# See http://vizant.sourceforge.net/
# Override this path as needed, either on the command line or in
# one of the standard user build.properties files (see build.xml)

# vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar
# dot = dot

D
duke 已提交
109 110 111 112 113 114 115
#------------------------------------------------------------

# The following properties define the packages for each of the tools.
# Syntactically, they should be suitable as arguments for the "includes"
# parameter of Ant filesets. In particular, note the trailing '/'.

javac.includes = \
116 117 118
        javax/annotation/processing/ \
        javax/lang/model/ \
        javax/tools/ \
119
        jdk/ \
120
        com/sun/source/ \
J
jjg 已提交
121 122
        com/sun/tools/javac/ \
        com/sun/tools/doclint/
D
duke 已提交
123 124

javac.tests = \
125 126 127 128
        tools/javac

#

D
duke 已提交
129
javadoc.includes = \
130 131
        com/sun/javadoc/ \
        com/sun/tools/javadoc/
D
duke 已提交
132 133

javadoc.tests = \
134 135 136 137
        tools/javadoc/

#

D
duke 已提交
138
doclets.includes = \
139
        com/sun/tools/doclets/
D
duke 已提交
140 141

doclets.tests = \
142 143 144
        com/sun/javadoc/

#
D
duke 已提交
145 146

javah.includes = \
147
        com/sun/tools/javah/
D
duke 已提交
148 149

javah.tests = \
150 151 152
        tools/javah/

#
D
duke 已提交
153 154

javap.includes = \
155 156
        com/sun/tools/classfile/ \
        com/sun/tools/javap/ \
157
        com/sun/tools/jdeps/ \
158
        sun/tools/javap/
D
duke 已提交
159 160

javap.tests = \
161 162 163
        tools/javap/

#
D
duke 已提交
164

165
sjavac.includes = \
166
        com/sun/tools/sjavac/
167 168 169

sjavac.tests = \
        tools/sjavac
170

171 172
#

173 174 175 176
# The following files require the latest JDK to be available.
# The API can be provided by using a suitable boot.java.home
# or by setting import.jdk
require.latest.jdk.files = \
J
jjg 已提交
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}
J
jjg 已提交
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
#
# For NIO, the list of stub files is defined by the contents of the primary
# API packages, together with such types that may be required in order to
# compile the stubs. Some of these dependencies would go away if the stub
# generator were to be improved -- e.g. by removing unnecessary imports.
#
import.jdk.stub.files = \
    java/io/File.java \
    java/nio/file/**.java \
    java/nio/file/attribute/**.java \
    java/nio/file/spi/**.java \
    java/nio/channels/AsynchronousChannel.java \
    java/nio/channels/AsynchronousFileChannel.java \
    java/nio/channels/CompletionHandler.java \
    java/nio/channels/SeekableByteChannel.java
196

197 198 199 200
# The following value is used by the main jtreg target.
# An empty value means all tests
# Override as desired to run a specific set of tests
jtreg.tests =
201 202 203 204

# Check style configuration
# overridable name and version
checkstyle.name.version = checkstyle-5.4