build.properties revision 449
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# This code is free software; you can redistribute it and/or modify it
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# under the terms of the GNU General Public License version 2 only, as
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# published by the Free Software Foundation. Sun designates this
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# particular file as subject to the "Classpath" exception as provided
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# by Sun in the LICENSE file that accompanied this code.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# This code is distributed in the hope that it will be useful, but WITHOUT
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# version 2 for more details (a copy is included in the LICENSE file that
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# accompanied this code).
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# You should have received a copy of the GNU General Public License version
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# 2 along with this work; if not, write to the Free Software Foundation,
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# CA 95054 USA or visit www.sun.com if you need additional information or
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# have any questions.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove#
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# This is the JDK used to build and run the bootstrap version of javac.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# The bootstrap javac is used to compile both boostrap versions of the
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# other tools, and product versions of all the tools.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Override this path as needed, either on the command line or in
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# one of the standard user build.properties files (see build.xml)
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# boot.java.home = /opt/jdk/1.6.0
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Groveboot.java = ${boot.java.home}/bin/java
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Groveboot.javac = ${boot.java.home}/bin/javac
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Groveboot.javac.source = 6
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Groveboot.javac.target = 6
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# This is the JDK used to run the product version of the tools,
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# for example, for testing. If you're building a complete JDK, specify that.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Override this path as needed, either on the command line or in
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# one of the standard user build.properties files (see build.xml)
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# target.java.home = /opt/jdk/1.7.0
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grovetarget.java = ${target.java.home}/bin/java
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# Version info -- override as needed
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grovejdk.version = 1.7.0
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grovebuild.number = b00
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grovemilestone = internal
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# FIXME -- these need to match the standard values
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# If we include date in full.version (ie for developer build)
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# we will need to make sure the build is idempotent (i.e.
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# repeated builds don't rebuild the tools, because of new
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# timestamps
5f9cae5c825d76bdc95b78301e460a46ec5fbdf4Ryan Grove# 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
javac.source = 7
javac.target = 7
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
javac.version.opt =
# in time, there should be no exceptions to -Xlint:all
javac.lint.opts = -Xlint:all,-deprecation -Werror
# options for the <javadoc> task for javac
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;:"
# jtreg, used to run the JDK regression tests
# Override this path as needed, either on the command line or in
# one of the standard user build.properties files (see build.xml)
# jtreg.home = /opt/jtreg/3.2.2_02
# findbugs
# Override this path as needed, either on the command line or in
# 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 = \
javax/annotation/processing/ \
javax/lang/model/ \
javax/tools/ \
com/sun/source/ com/sun/tools/javac/
javac.tests = \
tools/javac
#
javadoc.includes = \
com/sun/javadoc/ \
com/sun/tools/javadoc/
javadoc.tests = \
tools/javadoc/
#
doclets.includes = \
com/sun/tools/doclets/
doclets.tests = \
com/sun/javadoc/
#
javah.includes = \
com/sun/tools/javah/
javah.tests = \
tools/javah/
#
javap.includes = \
com/sun/tools/classfile/ \
com/sun/tools/javap/ \
sun/tools/javap/
javap.tests = \
tools/javap/
#
apt.includes = \
com/sun/mirror/ \
com/sun/tools/apt/
apt.tests = \
tools/apt/
#
# The following files require the import JDK to be available
require.import.jdk.files = \
com/sun/tools/javac/nio/*.java
# The following files in the import jdk source directory are required
# in order to compile the files defined in ${require.import.jdk.files}
#
# 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
# 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 =