build.properties revision 578
116N/A#
116N/A# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
116N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
116N/A#
116N/A# This code is free software; you can redistribute it and/or modify it
116N/A# under the terms of the GNU General Public License version 2 only, as
116N/A# published by the Free Software Foundation. Oracle designates this
116N/A# particular file as subject to the "Classpath" exception as provided
116N/A# by Oracle in the LICENSE file that accompanied this code.
116N/A#
116N/A# This code is distributed in the hope that it will be useful, but WITHOUT
116N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
116N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
116N/A# version 2 for more details (a copy is included in the LICENSE file that
116N/A# accompanied this code).
116N/A#
116N/A# You should have received a copy of the GNU General Public License version
116N/A# 2 along with this work; if not, write to the Free Software Foundation,
116N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
116N/A#
116N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
116N/A# or visit www.oracle.com if you need additional information or have any
5636N/A# questions.
116N/A#
116N/A
116N/A# This is the JDK used to build and run the bootstrap version of javac.
116N/A# The bootstrap javac is used to compile both boostrap versions of the
1244N/A# other tools, and product versions of all the tools.
5229N/A# Override this path as needed, either on the command line or in
618N/A# one of the standard user build.properties files (see build.xml)
1244N/A
1244N/A# boot.java.home = /opt/jdk/1.6.0
116N/Aboot.java = ${boot.java.home}/bin/java
844N/Aboot.javac = ${boot.java.home}/bin/javac
5229N/Aboot.javac.source = 6
116N/Aboot.javac.target = 6
1258N/A
116N/A# This is the JDK used to run the product version of the tools,
5229N/A# for example, for testing. If you're building a complete JDK, specify that.
2899N/A# Override this path as needed, either on the command line or in
3817N/A# one of the standard user build.properties files (see build.xml)
3817N/A
3817N/A# target.java.home = /opt/jdk/1.7.0
116N/Atarget.java = ${target.java.home}/bin/java
116N/A
116N/A# Version info -- override as needed
116N/Ajdk.version = 1.7.0
116N/Abuild.number = b00
116N/Amilestone = internal
116N/A
116N/A# FIXME -- these need to match the standard values
116N/A# If we include date in full.version (ie for developer build)
1137N/A# we will need to make sure the build is idempotent (i.e.
116N/A# repeated builds don't rebuild the tools, because of new
116N/A# timestamps
116N/A# FIXME -- need to include openjdk as needed
1137N/Arelease = ${jdk.version}-${milestone}
1137N/Abootstrap.release = ${release}_bootstrap
1137N/Afull.version = ${release}-${build.number}
1137N/Abootstrap.full.version = ${bootstrap.release}-${build.number}
1137N/A
151N/A# options for the <javac> tasks used to compile the tools
151N/Ajavac.source = 7
116N/Ajavac.target = 7
151N/Ajavac.debug = true
151N/Ajavac.debuglevel = source,lines
151N/Ajavac.no.jdk.warnings = -XDignore.symbol.file=true
116N/A# set the following to -version to verify the versions of javac being used
181N/Ajavac.version.opt =
181N/A# in time, there should be no exceptions to -Xlint:all
116N/Ajavac.lint.opts = -Xlint:all,-deprecation -Werror
5229N/A
5229N/A# options for the <javadoc> task for javac
5229N/Ajavadoc.jls3.url=http://java.sun.com/docs/books/jls/
5229N/Ajavadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;
5229N/Ajavadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
5229N/A
5229N/A# jtreg, used to run the JDK regression tests
5229N/A# See http://openjdk.java.net/jtreg/
5229N/A# Override this path as needed, either on the command line or in
5229N/A# one of the standard user build.properties files (see build.xml)
5229N/A
1938N/A# jtreg.home = /opt/jtreg/4.1
1938N/A
116N/A# findbugs
116N/A# See http://findbugs.sourceforge.net/
181N/A# Override this path as needed, either on the command line or in
116N/A# one of the standard user build.properties files (see build.xml)
181N/A
116N/A# findbugs.home = /opt/findbugs/1.2.1
4337N/A
4337N/A# vizant (graph visualization tool for Ant)
116N/A# See http://vizant.sourceforge.net/
3817N/A# Override this path as needed, either on the command line or in
3817N/A# one of the standard user build.properties files (see build.xml)
5636N/A
3817N/A# vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar
# dot = dot
#------------------------------------------------------------
# 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 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 = \
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.latest.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 =