make/build.properties

Wed, 27 Apr 2016 01:34:52 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:34:52 +0800
changeset 0
959103a6100f
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/
changeset: 2573:53ca196be1ae
tag: jdk8u25-b17

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

mercurial