duke@1: # ohair@554: # Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. duke@1: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. duke@1: # duke@1: # This code is free software; you can redistribute it and/or modify it duke@1: # under the terms of the GNU General Public License version 2 only, as ohair@554: # published by the Free Software Foundation. Oracle designates this duke@1: # particular file as subject to the "Classpath" exception as provided ohair@554: # by Oracle in the LICENSE file that accompanied this code. duke@1: # duke@1: # This code is distributed in the hope that it will be useful, but WITHOUT duke@1: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or duke@1: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License duke@1: # version 2 for more details (a copy is included in the LICENSE file that duke@1: # accompanied this code). duke@1: # duke@1: # You should have received a copy of the GNU General Public License version duke@1: # 2 along with this work; if not, write to the Free Software Foundation, duke@1: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. duke@1: # ohair@554: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: # or visit www.oracle.com if you need additional information or have any ohair@554: # questions. duke@1: # duke@1: duke@1: # This is the JDK used to build and run the bootstrap version of javac. duke@1: # The bootstrap javac is used to compile both boostrap versions of the duke@1: # other tools, and product versions of all the tools. jjg@371: # Override this path as needed, either on the command line or in duke@1: # one of the standard user build.properties files (see build.xml) duke@1: jjg@371: # boot.java.home = /opt/jdk/1.6.0 duke@1: boot.java = ${boot.java.home}/bin/java duke@1: boot.javac = ${boot.java.home}/bin/javac jjg@286: boot.javac.source = 6 jjg@286: boot.javac.target = 6 duke@1: duke@1: # This is the JDK used to run the product version of the tools, duke@1: # for example, for testing. If you're building a complete JDK, specify that. jjg@371: # Override this path as needed, either on the command line or in duke@1: # one of the standard user build.properties files (see build.xml) duke@1: jjg@367: # target.java.home = /opt/jdk/1.7.0 duke@1: target.java = ${target.java.home}/bin/java duke@1: duke@1: # Version info -- override as needed duke@1: jdk.version = 1.7.0 duke@1: build.number = b00 duke@1: milestone = internal duke@1: duke@1: # FIXME -- these need to match the standard values duke@1: # If we include date in full.version (ie for developer build) duke@1: # we will need to make sure the build is idempotent (i.e. duke@1: # repeated builds don't rebuild the tools, because of new duke@1: # timestamps duke@1: # FIXME -- need to include openjdk as needed duke@1: release = ${jdk.version}-${milestone} duke@1: bootstrap.release = ${release}_bootstrap duke@1: full.version = ${release}-${build.number} duke@1: bootstrap.full.version = ${bootstrap.release}-${build.number} duke@1: duke@1: # options for the tasks used to compile the tools jjg@332: javac.source = 7 jjg@332: javac.target = 7 duke@1: javac.debug = true duke@1: javac.debuglevel = source,lines duke@1: javac.no.jdk.warnings = -XDignore.symbol.file=true duke@1: # set the following to -version to verify the versions of javac being used jjg@371: javac.version.opt = duke@1: # in time, there should be no exceptions to -Xlint:all jjg@507: javac.lint.opts = -Xlint:all,-deprecation -Werror duke@1: duke@1: # options for the task for javac duke@1: javadoc.jls3.url=http://java.sun.com/docs/books/jls/ jjg@371: javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> duke@1: javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:" duke@1: duke@1: # jtreg, used to run the JDK regression tests jjg@578: # See http://openjdk.java.net/jtreg/ jjg@371: # Override this path as needed, either on the command line or in duke@1: # one of the standard user build.properties files (see build.xml) duke@1: jjg@578: # jtreg.home = /opt/jtreg/4.1 duke@1: duke@1: # findbugs jjg@578: # See http://findbugs.sourceforge.net/ jjg@371: # Override this path as needed, either on the command line or in duke@1: # one of the standard user build.properties files (see build.xml) duke@1: duke@1: # findbugs.home = /opt/findbugs/1.2.1 duke@1: jjg@578: # vizant (graph visualization tool for Ant) jjg@578: # See http://vizant.sourceforge.net/ jjg@578: # Override this path as needed, either on the command line or in jjg@578: # one of the standard user build.properties files (see build.xml) jjg@578: jjg@578: # vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar jjg@578: # dot = dot jjg@578: duke@1: #------------------------------------------------------------ duke@1: duke@1: # The following properties define the packages for each of the tools. duke@1: # Syntactically, they should be suitable as arguments for the "includes" duke@1: # parameter of Ant filesets. In particular, note the trailing '/'. duke@1: duke@1: javac.includes = \ jjg@371: javax/annotation/processing/ \ jjg@371: javax/lang/model/ \ jjg@371: javax/tools/ \ darcy@609: com/sun/source/ \ darcy@609: com/sun/tools/javac/ duke@1: duke@1: javac.tests = \ jjg@371: tools/javac jjg@371: jjg@371: # jjg@371: duke@1: javadoc.includes = \ jjg@371: com/sun/javadoc/ \ jjg@371: com/sun/tools/javadoc/ duke@1: duke@1: javadoc.tests = \ jjg@371: tools/javadoc/ jjg@371: jjg@371: # jjg@371: duke@1: doclets.includes = \ jjg@371: com/sun/tools/doclets/ duke@1: duke@1: doclets.tests = \ jjg@371: com/sun/javadoc/ jjg@371: jjg@371: # duke@1: duke@1: javah.includes = \ jjg@371: com/sun/tools/javah/ duke@1: duke@1: javah.tests = \ jjg@371: tools/javah/ jjg@371: jjg@371: # duke@1: duke@1: javap.includes = \ jjg@371: com/sun/tools/classfile/ \ jjg@371: com/sun/tools/javap/ \ jjg@371: sun/tools/javap/ duke@1: duke@1: javap.tests = \ jjg@371: tools/javap/ jjg@371: jjg@371: # duke@1: duke@1: apt.includes = \ jjg@371: com/sun/mirror/ \ jjg@371: com/sun/tools/apt/ duke@1: duke@1: apt.tests = \ jjg@371: tools/apt/ duke@1: jjg@371: # jjg@371: jjg@579: # The following files require the latest JDK to be available. jjg@579: # The API can be provided by using a suitable boot.java.home jjg@579: # or by setting import.jdk jjg@579: require.latest.jdk.files = \ jjg@450: com/sun/tools/javac/nio/*.java jjg@441: jjg@441: # The following files in the import jdk source directory are required jjg@579: # in order to compile the files defined in ${require.latest.jdk.files} jjg@450: # jjg@450: # For NIO, the list of stub files is defined by the contents of the primary jjg@450: # API packages, together with such types that may be required in order to jjg@450: # compile the stubs. Some of these dependencies would go away if the stub jjg@450: # generator were to be improved -- e.g. by removing unnecessary imports. jjg@450: # jjg@450: import.jdk.stub.files = \ jjg@450: java/io/File.java \ jjg@450: java/nio/file/**.java \ jjg@450: java/nio/file/attribute/**.java \ jjg@450: java/nio/file/spi/**.java \ jjg@450: java/nio/channels/AsynchronousChannel.java \ jjg@450: java/nio/channels/AsynchronousFileChannel.java \ jjg@450: java/nio/channels/CompletionHandler.java \ jjg@450: java/nio/channels/SeekableByteChannel.java jjg@441: jjg@371: # The following value is used by the main jtreg target. jjg@371: # An empty value means all tests jjg@371: # Override as desired to run a specific set of tests jjg@371: jtreg.tests =