make/build.properties

Wed, 13 Apr 2011 11:35:43 -0700

author
jjh
date
Wed, 13 Apr 2011 11:35:43 -0700
changeset 972
694ff82ca68e
parent 798
4868a36f6fd8
child 1137
c1238fcc9515
permissions
-rw-r--r--

7032975: API files in javax.annotation.processing need to be updated for references to JLS
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks
Summary: Removed URLs and 'edition' references
Reviewed-by: jjg, darcy

duke@1 1 #
ohair@798 2 # Copyright (c) 2007, 2010, 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
jjh@972 74 #javadoc.jls3.url=http://java.sun.com/docs/books/jls/
jjh@972 75 #javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;
jjh@972 76 #javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
jjh@972 77
jjh@972 78
jjh@972 79 javadoc.jls.cite=The Java&trade; Language Specification
jjh@972 80
jjh@972 81 javadoc.jls.option=-tag "jls:a:See &lt;cite&gt;${javadoc.jls.cite}&lt;/cite&gt;:"
jjh@972 82
jjh@972 83
jjh@972 84
jjh@972 85
duke@1 86
duke@1 87 # jtreg, used to run the JDK regression tests
jjg@578 88 # See http://openjdk.java.net/jtreg/
jjg@371 89 # Override this path as needed, either on the command line or in
duke@1 90 # one of the standard user build.properties files (see build.xml)
duke@1 91
jjg@578 92 # jtreg.home = /opt/jtreg/4.1
duke@1 93
duke@1 94 # findbugs
jjg@578 95 # See http://findbugs.sourceforge.net/
jjg@371 96 # Override this path as needed, either on the command line or in
duke@1 97 # one of the standard user build.properties files (see build.xml)
duke@1 98
duke@1 99 # findbugs.home = /opt/findbugs/1.2.1
duke@1 100
jjg@578 101 # vizant (graph visualization tool for Ant)
jjg@578 102 # See http://vizant.sourceforge.net/
jjg@578 103 # Override this path as needed, either on the command line or in
jjg@578 104 # one of the standard user build.properties files (see build.xml)
jjg@578 105
jjg@578 106 # vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar
jjg@578 107 # dot = dot
jjg@578 108
duke@1 109 #------------------------------------------------------------
duke@1 110
duke@1 111 # The following properties define the packages for each of the tools.
duke@1 112 # Syntactically, they should be suitable as arguments for the "includes"
duke@1 113 # parameter of Ant filesets. In particular, note the trailing '/'.
duke@1 114
duke@1 115 javac.includes = \
jjg@371 116 javax/annotation/processing/ \
jjg@371 117 javax/lang/model/ \
jjg@371 118 javax/tools/ \
darcy@609 119 com/sun/source/ \
darcy@609 120 com/sun/tools/javac/
duke@1 121
duke@1 122 javac.tests = \
jjg@371 123 tools/javac
jjg@371 124
jjg@371 125 #
jjg@371 126
duke@1 127 javadoc.includes = \
jjg@371 128 com/sun/javadoc/ \
jjg@371 129 com/sun/tools/javadoc/
duke@1 130
duke@1 131 javadoc.tests = \
jjg@371 132 tools/javadoc/
jjg@371 133
jjg@371 134 #
jjg@371 135
duke@1 136 doclets.includes = \
jjg@371 137 com/sun/tools/doclets/
duke@1 138
duke@1 139 doclets.tests = \
jjg@371 140 com/sun/javadoc/
jjg@371 141
jjg@371 142 #
duke@1 143
duke@1 144 javah.includes = \
jjg@371 145 com/sun/tools/javah/
duke@1 146
duke@1 147 javah.tests = \
jjg@371 148 tools/javah/
jjg@371 149
jjg@371 150 #
duke@1 151
duke@1 152 javap.includes = \
jjg@371 153 com/sun/tools/classfile/ \
jjg@371 154 com/sun/tools/javap/ \
jjg@371 155 sun/tools/javap/
duke@1 156
duke@1 157 javap.tests = \
jjg@371 158 tools/javap/
jjg@371 159
jjg@371 160 #
duke@1 161
duke@1 162 apt.includes = \
jjg@371 163 com/sun/mirror/ \
jjg@371 164 com/sun/tools/apt/
duke@1 165
duke@1 166 apt.tests = \
jjg@371 167 tools/apt/
duke@1 168
jjg@371 169 #
jjg@371 170
jjg@579 171 # The following files require the latest JDK to be available.
jjg@579 172 # The API can be provided by using a suitable boot.java.home
jjg@579 173 # or by setting import.jdk
jjg@579 174 require.latest.jdk.files = \
jjg@450 175 com/sun/tools/javac/nio/*.java
jjg@441 176
jjg@441 177 # The following files in the import jdk source directory are required
jjg@579 178 # in order to compile the files defined in ${require.latest.jdk.files}
jjg@450 179 #
jjg@450 180 # For NIO, the list of stub files is defined by the contents of the primary
jjg@450 181 # API packages, together with such types that may be required in order to
jjg@450 182 # compile the stubs. Some of these dependencies would go away if the stub
jjg@450 183 # generator were to be improved -- e.g. by removing unnecessary imports.
jjg@450 184 #
jjg@450 185 import.jdk.stub.files = \
jjg@450 186 java/io/File.java \
jjg@450 187 java/nio/file/**.java \
jjg@450 188 java/nio/file/attribute/**.java \
jjg@450 189 java/nio/file/spi/**.java \
jjg@450 190 java/nio/channels/AsynchronousChannel.java \
jjg@450 191 java/nio/channels/AsynchronousFileChannel.java \
jjg@450 192 java/nio/channels/CompletionHandler.java \
jjg@450 193 java/nio/channels/SeekableByteChannel.java
jjg@441 194
jjg@371 195 # The following value is used by the main jtreg target.
jjg@371 196 # An empty value means all tests
jjg@371 197 # Override as desired to run a specific set of tests
jjg@371 198 jtreg.tests =

mercurial