make/build.properties

Mon, 20 Dec 2010 21:10:57 -0800

author
lana
date
Mon, 20 Dec 2010 21:10:57 -0800
changeset 796
a3b5b531542a
parent 609
13354e1abba7
child 798
4868a36f6fd8
permissions
-rw-r--r--

Merge

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

mercurial