annotate make/build.properties @ 853:f9e407ab55b4

merge with jdk7-b123
author mcimadamore
date Thu, 06 Jan 2011 10:13:25 +0000
parents 7af674c07fca 4868a36f6fd8
children f81cf9e0675f
rev   line source
duke@0 1 #
ohair@852 2 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
ohair@561 7 # published by the Free Software Foundation. Oracle designates this
duke@0 8 # particular file as subject to the "Classpath" exception as provided
ohair@561 9 # by Oracle in the LICENSE file that accompanied this code.
duke@0 10 #
duke@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 # accompanied this code).
duke@0 16 #
duke@0 17 # You should have received a copy of the GNU General Public License version
duke@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 #
ohair@561 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@561 22 # or visit www.oracle.com if you need additional information or have any
ohair@561 23 # questions.
duke@0 24 #
duke@0 25
duke@0 26 # This is the JDK used to build and run the bootstrap version of javac.
duke@0 27 # The bootstrap javac is used to compile both boostrap versions of the
duke@0 28 # other tools, and product versions of all the tools.
jjg@370 29 # Override this path as needed, either on the command line or in
duke@0 30 # one of the standard user build.properties files (see build.xml)
duke@0 31
jjg@370 32 # boot.java.home = /opt/jdk/1.6.0
duke@0 33 boot.java = ${boot.java.home}/bin/java
duke@0 34 boot.javac = ${boot.java.home}/bin/javac
jjg@285 35 boot.javac.source = 6
jjg@285 36 boot.javac.target = 6
duke@0 37
duke@0 38 # This is the JDK used to run the product version of the tools,
duke@0 39 # for example, for testing. If you're building a complete JDK, specify that.
jjg@370 40 # Override this path as needed, either on the command line or in
duke@0 41 # one of the standard user build.properties files (see build.xml)
duke@0 42
jjg@366 43 # target.java.home = /opt/jdk/1.7.0
duke@0 44 target.java = ${target.java.home}/bin/java
duke@0 45
duke@0 46 # Version info -- override as needed
duke@0 47 jdk.version = 1.7.0
duke@0 48 build.number = b00
duke@0 49 milestone = internal
duke@0 50
duke@0 51 # FIXME -- these need to match the standard values
duke@0 52 # If we include date in full.version (ie for developer build)
duke@0 53 # we will need to make sure the build is idempotent (i.e.
duke@0 54 # repeated builds don't rebuild the tools, because of new
duke@0 55 # timestamps
duke@0 56 # FIXME -- need to include openjdk as needed
duke@0 57 release = ${jdk.version}-${milestone}
duke@0 58 bootstrap.release = ${release}_bootstrap
duke@0 59 full.version = ${release}-${build.number}
duke@0 60 bootstrap.full.version = ${bootstrap.release}-${build.number}
duke@0 61
duke@0 62 # options for the <javac> tasks used to compile the tools
jjg@331 63 javac.source = 7
jjg@331 64 javac.target = 7
duke@0 65 javac.debug = true
duke@0 66 javac.debuglevel = source,lines
duke@0 67 javac.no.jdk.warnings = -XDignore.symbol.file=true
duke@0 68 # set the following to -version to verify the versions of javac being used
jjg@370 69 javac.version.opt =
duke@0 70 # in time, there should be no exceptions to -Xlint:all
mcimadamore@617 71 javac.lint.opts = -Xlint:all,-varargs,-rawtypes,-serial,-deprecation -Werror
duke@0 72
duke@0 73 # options for the <javadoc> task for javac
duke@0 74 javadoc.jls3.url=http://java.sun.com/docs/books/jls/
jjg@370 75 javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;
duke@0 76 javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
duke@0 77
duke@0 78 # jtreg, used to run the JDK regression tests
jjg@594 79 # See http://openjdk.java.net/jtreg/
jjg@370 80 # Override this path as needed, either on the command line or in
duke@0 81 # one of the standard user build.properties files (see build.xml)
duke@0 82
jjg@594 83 # jtreg.home = /opt/jtreg/4.1
duke@0 84
duke@0 85 # findbugs
jjg@594 86 # See http://findbugs.sourceforge.net/
jjg@370 87 # Override this path as needed, either on the command line or in
duke@0 88 # one of the standard user build.properties files (see build.xml)
duke@0 89
duke@0 90 # findbugs.home = /opt/findbugs/1.2.1
duke@0 91
jjg@594 92 # vizant (graph visualization tool for Ant)
jjg@594 93 # See http://vizant.sourceforge.net/
jjg@594 94 # Override this path as needed, either on the command line or in
jjg@594 95 # one of the standard user build.properties files (see build.xml)
jjg@594 96
jjg@594 97 # vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar
jjg@594 98 # dot = dot
jjg@594 99
duke@0 100 #------------------------------------------------------------
duke@0 101
duke@0 102 # The following properties define the packages for each of the tools.
duke@0 103 # Syntactically, they should be suitable as arguments for the "includes"
duke@0 104 # parameter of Ant filesets. In particular, note the trailing '/'.
duke@0 105
duke@0 106 javac.includes = \
jjg@370 107 javax/annotation/processing/ \
jjg@370 108 javax/lang/model/ \
jjg@370 109 javax/tools/ \
darcy@633 110 com/sun/source/ \
mcimadamore@650 111 com/sun/runtime/ \
darcy@633 112 com/sun/tools/javac/
duke@0 113
duke@0 114 javac.tests = \
jjg@370 115 tools/javac
jjg@370 116
jjg@370 117 #
jjg@370 118
duke@0 119 javadoc.includes = \
jjg@370 120 com/sun/javadoc/ \
jjg@370 121 com/sun/tools/javadoc/
duke@0 122
duke@0 123 javadoc.tests = \
jjg@370 124 tools/javadoc/
jjg@370 125
jjg@370 126 #
jjg@370 127
duke@0 128 doclets.includes = \
jjg@370 129 com/sun/tools/doclets/
duke@0 130
duke@0 131 doclets.tests = \
jjg@370 132 com/sun/javadoc/
jjg@370 133
jjg@370 134 #
duke@0 135
duke@0 136 javah.includes = \
jjg@370 137 com/sun/tools/javah/
duke@0 138
duke@0 139 javah.tests = \
jjg@370 140 tools/javah/
jjg@370 141
jjg@370 142 #
duke@0 143
duke@0 144 javap.includes = \
jjg@370 145 com/sun/tools/classfile/ \
jjg@370 146 com/sun/tools/javap/ \
jjg@370 147 sun/tools/javap/
duke@0 148
duke@0 149 javap.tests = \
jjg@370 150 tools/javap/
jjg@370 151
jjg@370 152 #
duke@0 153
duke@0 154 apt.includes = \
jjg@370 155 com/sun/mirror/ \
jjg@370 156 com/sun/tools/apt/
duke@0 157
duke@0 158 apt.tests = \
jjg@370 159 tools/apt/
duke@0 160
jjg@370 161 #
jjg@370 162
jjg@595 163 # The following files require the latest JDK to be available.
jjg@595 164 # The API can be provided by using a suitable boot.java.home
jjg@595 165 # or by setting import.jdk
jjg@595 166 require.latest.jdk.files = \
mcimadamore@578 167 com/sun/tools/javac/nio/*.java \
mcimadamore@617 168 com/sun/runtime/*.java
jjg@440 169
jjg@440 170 # The following files in the import jdk source directory are required
jjg@595 171 # in order to compile the files defined in ${require.latest.jdk.files}
jjg@449 172 #
jjg@449 173 # For NIO, the list of stub files is defined by the contents of the primary
jjg@449 174 # API packages, together with such types that may be required in order to
jjg@449 175 # compile the stubs. Some of these dependencies would go away if the stub
jjg@449 176 # generator were to be improved -- e.g. by removing unnecessary imports.
jjg@449 177 #
jjg@449 178 import.jdk.stub.files = \
jjg@449 179 java/io/File.java \
jjg@449 180 java/nio/file/**.java \
jjg@449 181 java/nio/file/attribute/**.java \
jjg@449 182 java/nio/file/spi/**.java \
jjg@449 183 java/nio/channels/AsynchronousChannel.java \
jjg@449 184 java/nio/channels/AsynchronousFileChannel.java \
jjg@449 185 java/nio/channels/CompletionHandler.java \
mcimadamore@578 186 java/nio/channels/SeekableByteChannel.java \
mcimadamore@578 187 java/dyn/**.java \
mcimadamore@813 188 java/lang/ReflectiveOperationException.java \
mcimadamore@578 189 sun/dyn/**.java \
mcimadamore@813 190 sun/dyn/util/**.java \
mcimadamore@578 191 sun/dyn/empty/**.java
jjg@440 192
jjg@370 193 # The following value is used by the main jtreg target.
jjg@370 194 # An empty value means all tests
jjg@370 195 # Override as desired to run a specific set of tests
jjg@370 196 jtreg.tests =