2007-12-01 00:00:00 +00:00
|
|
|
#
|
2009-03-09 20:29:06 +00:00
|
|
|
# Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved.
|
2007-12-01 00:00:00 +00:00
|
|
|
# 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.
|
2009-08-12 14:54:30 +00:00
|
|
|
# Override this path as needed, either on the command line or in
|
2007-12-01 00:00:00 +00:00
|
|
|
# one of the standard user build.properties files (see build.xml)
|
|
|
|
|
2009-08-12 14:54:30 +00:00
|
|
|
# boot.java.home = /opt/jdk/1.6.0
|
2007-12-01 00:00:00 +00:00
|
|
|
boot.java = ${boot.java.home}/bin/java
|
|
|
|
boot.javac = ${boot.java.home}/bin/javac
|
2009-05-20 20:36:23 +00:00
|
|
|
boot.javac.source = 6
|
|
|
|
boot.javac.target = 6
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
# 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.
|
2009-08-12 14:54:30 +00:00
|
|
|
# Override this path as needed, either on the command line or in
|
2007-12-01 00:00:00 +00:00
|
|
|
# one of the standard user build.properties files (see build.xml)
|
|
|
|
|
2009-08-12 01:35:05 +00:00
|
|
|
# target.java.home = /opt/jdk/1.7.0
|
2007-12-01 00:00:00 +00:00
|
|
|
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
|
2009-07-27 22:20:03 +00:00
|
|
|
javac.source = 7
|
|
|
|
javac.target = 7
|
2007-12-01 00:00:00 +00:00
|
|
|
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
|
2009-08-12 14:54:30 +00:00
|
|
|
javac.version.opt =
|
2007-12-01 00:00:00 +00:00
|
|
|
# in time, there should be no exceptions to -Xlint:all
|
2009-07-27 04:27:11 +00:00
|
|
|
javac.lint.opts = -Xlint:all,-deprecation -Werror
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
# options for the <javadoc> task for javac
|
|
|
|
javadoc.jls3.url=http://java.sun.com/docs/books/jls/
|
2009-08-12 14:54:30 +00:00
|
|
|
javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a>
|
2007-12-01 00:00:00 +00:00
|
|
|
javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:"
|
|
|
|
|
|
|
|
# jtreg, used to run the JDK regression tests
|
2009-08-12 14:54:30 +00:00
|
|
|
# Override this path as needed, either on the command line or in
|
2007-12-01 00:00:00 +00:00
|
|
|
# one of the standard user build.properties files (see build.xml)
|
|
|
|
|
|
|
|
# jtreg.home = /opt/jtreg/3.2.2_02
|
|
|
|
|
|
|
|
# findbugs
|
2009-08-12 14:54:30 +00:00
|
|
|
# Override this path as needed, either on the command line or in
|
2007-12-01 00:00:00 +00:00
|
|
|
# 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 = \
|
2009-08-12 14:54:30 +00:00
|
|
|
javax/annotation/processing/ \
|
|
|
|
javax/lang/model/ \
|
|
|
|
javax/tools/ \
|
|
|
|
com/sun/source/ com/sun/tools/javac/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javac.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
tools/javac
|
|
|
|
|
|
|
|
#
|
|
|
|
|
2007-12-01 00:00:00 +00:00
|
|
|
javadoc.includes = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/javadoc/ \
|
|
|
|
com/sun/tools/javadoc/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javadoc.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
tools/javadoc/
|
|
|
|
|
|
|
|
#
|
|
|
|
|
2007-12-01 00:00:00 +00:00
|
|
|
doclets.includes = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/tools/doclets/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
doclets.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/javadoc/
|
|
|
|
|
|
|
|
#
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javah.includes = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/tools/javah/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javah.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
tools/javah/
|
|
|
|
|
|
|
|
#
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javap.includes = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/tools/classfile/ \
|
|
|
|
com/sun/tools/javap/ \
|
|
|
|
sun/tools/javap/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
javap.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
tools/javap/
|
|
|
|
|
|
|
|
#
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
apt.includes = \
|
2009-08-12 14:54:30 +00:00
|
|
|
com/sun/mirror/ \
|
|
|
|
com/sun/tools/apt/
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
apt.tests = \
|
2009-08-12 14:54:30 +00:00
|
|
|
tools/apt/
|
|
|
|
|
|
|
|
#
|
2007-12-01 00:00:00 +00:00
|
|
|
|
2009-11-20 19:18:43 +00:00
|
|
|
# The following files require the import JDK to be available
|
2009-12-11 22:26:27 +00:00
|
|
|
require.import.jdk.files = \
|
|
|
|
com/sun/tools/javac/nio/*.java
|
2009-11-20 19:18:43 +00:00
|
|
|
|
|
|
|
# The following files in the import jdk source directory are required
|
|
|
|
# in order to compile the files defined in ${require.import.jdk.files}
|
2009-12-11 22:26:27 +00:00
|
|
|
#
|
|
|
|
# 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
|
2009-11-20 19:18:43 +00:00
|
|
|
|
2009-08-12 14:54:30 +00:00
|
|
|
# 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 =
|