build.properties 4.8 KB
Newer Older
D
duke 已提交
1
#
X
xdono 已提交
2
# Copyright 2007-2009 Sun Microsystems, Inc.  All Rights Reserved.
D
duke 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# 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
# published by the Free Software Foundation.  Sun designates this
# particular file as subject to the "Classpath" exception as provided
# by Sun in the LICENSE file that accompanied this code.
#
# 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.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#

# 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.6.0
D
duke 已提交
33 34
boot.java = ${boot.java.home}/bin/java
boot.javac = ${boot.java.home}/bin/javac
35 36
boot.javac.source = 6
boot.javac.target = 6
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.7.0
D
duke 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
target.java = ${target.java.home}/bin/java

# Version info -- override as needed
jdk.version = 1.7.0
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 = 7
javac.target = 7
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
D
darcy 已提交
71
javac.lint.opts = -Xlint:all,-deprecation -Werror
D
duke 已提交
72 73 74

# options for the <javadoc> task for javac
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;
D
duke 已提交
76 77 78
javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"

# jtreg, used to run the JDK regression tests
79
# Override this path as needed, either on the command line or in
D
duke 已提交
80 81 82 83 84
# one of the standard user build.properties files (see build.xml)

# jtreg.home = /opt/jtreg/3.2.2_02

# findbugs
85
# Override this path as needed, either on the command line or in
D
duke 已提交
86 87 88 89 90 91 92 93 94 95 96
# one of the standard user build.properties files (see build.xml)

# findbugs.home = /opt/findbugs/1.2.1

#------------------------------------------------------------

# 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 = \
97 98 99 100
        javax/annotation/processing/ \
        javax/lang/model/ \
        javax/tools/ \
        com/sun/source/ com/sun/tools/javac/
D
duke 已提交
101 102

javac.tests = \
103 104 105 106
        tools/javac

#

D
duke 已提交
107
javadoc.includes = \
108 109
        com/sun/javadoc/ \
        com/sun/tools/javadoc/
D
duke 已提交
110 111

javadoc.tests = \
112 113 114 115
        tools/javadoc/

#

D
duke 已提交
116
doclets.includes = \
117
        com/sun/tools/doclets/
D
duke 已提交
118 119

doclets.tests = \
120 121 122
        com/sun/javadoc/

#
D
duke 已提交
123 124

javah.includes = \
125
        com/sun/tools/javah/
D
duke 已提交
126 127

javah.tests = \
128 129 130
        tools/javah/

#
D
duke 已提交
131 132

javap.includes = \
133 134 135
        com/sun/tools/classfile/ \
        com/sun/tools/javap/ \
        sun/tools/javap/
D
duke 已提交
136 137

javap.tests = \
138 139 140
        tools/javap/

#
D
duke 已提交
141 142

apt.includes = \
143 144
        com/sun/mirror/ \
        com/sun/tools/apt/
D
duke 已提交
145 146

apt.tests = \
147 148 149
        tools/apt/

#
D
duke 已提交
150

151 152 153 154
# 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 =