make/build.properties

Tue, 25 May 2010 15:54:51 -0700

author
ohair
date
Tue, 25 May 2010 15:54:51 -0700
changeset 554
9d9f26857129
parent 507
dbcba45123cd
child 578
b7fc560217d3
permissions
-rw-r--r--

6943119: Rebrand source copyright notices
Reviewed-by: darcy

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@371 79 # Override this path as needed, either on the command line or in
duke@1 80 # one of the standard user build.properties files (see build.xml)
duke@1 81
duke@1 82 # jtreg.home = /opt/jtreg/3.2.2_02
duke@1 83
duke@1 84 # findbugs
jjg@371 85 # Override this path as needed, either on the command line or in
duke@1 86 # one of the standard user build.properties files (see build.xml)
duke@1 87
duke@1 88 # findbugs.home = /opt/findbugs/1.2.1
duke@1 89
duke@1 90 #------------------------------------------------------------
duke@1 91
duke@1 92 # The following properties define the packages for each of the tools.
duke@1 93 # Syntactically, they should be suitable as arguments for the "includes"
duke@1 94 # parameter of Ant filesets. In particular, note the trailing '/'.
duke@1 95
duke@1 96 javac.includes = \
jjg@371 97 javax/annotation/processing/ \
jjg@371 98 javax/lang/model/ \
jjg@371 99 javax/tools/ \
jjg@371 100 com/sun/source/ com/sun/tools/javac/
duke@1 101
duke@1 102 javac.tests = \
jjg@371 103 tools/javac
jjg@371 104
jjg@371 105 #
jjg@371 106
duke@1 107 javadoc.includes = \
jjg@371 108 com/sun/javadoc/ \
jjg@371 109 com/sun/tools/javadoc/
duke@1 110
duke@1 111 javadoc.tests = \
jjg@371 112 tools/javadoc/
jjg@371 113
jjg@371 114 #
jjg@371 115
duke@1 116 doclets.includes = \
jjg@371 117 com/sun/tools/doclets/
duke@1 118
duke@1 119 doclets.tests = \
jjg@371 120 com/sun/javadoc/
jjg@371 121
jjg@371 122 #
duke@1 123
duke@1 124 javah.includes = \
jjg@371 125 com/sun/tools/javah/
duke@1 126
duke@1 127 javah.tests = \
jjg@371 128 tools/javah/
jjg@371 129
jjg@371 130 #
duke@1 131
duke@1 132 javap.includes = \
jjg@371 133 com/sun/tools/classfile/ \
jjg@371 134 com/sun/tools/javap/ \
jjg@371 135 sun/tools/javap/
duke@1 136
duke@1 137 javap.tests = \
jjg@371 138 tools/javap/
jjg@371 139
jjg@371 140 #
duke@1 141
duke@1 142 apt.includes = \
jjg@371 143 com/sun/mirror/ \
jjg@371 144 com/sun/tools/apt/
duke@1 145
duke@1 146 apt.tests = \
jjg@371 147 tools/apt/
duke@1 148
jjg@371 149 #
jjg@371 150
jjg@441 151 # The following files require the import JDK to be available
jjg@450 152 require.import.jdk.files = \
jjg@450 153 com/sun/tools/javac/nio/*.java
jjg@441 154
jjg@441 155 # The following files in the import jdk source directory are required
jjg@441 156 # in order to compile the files defined in ${require.import.jdk.files}
jjg@450 157 #
jjg@450 158 # For NIO, the list of stub files is defined by the contents of the primary
jjg@450 159 # API packages, together with such types that may be required in order to
jjg@450 160 # compile the stubs. Some of these dependencies would go away if the stub
jjg@450 161 # generator were to be improved -- e.g. by removing unnecessary imports.
jjg@450 162 #
jjg@450 163 import.jdk.stub.files = \
jjg@450 164 java/io/File.java \
jjg@450 165 java/nio/file/**.java \
jjg@450 166 java/nio/file/attribute/**.java \
jjg@450 167 java/nio/file/spi/**.java \
jjg@450 168 java/nio/channels/AsynchronousChannel.java \
jjg@450 169 java/nio/channels/AsynchronousFileChannel.java \
jjg@450 170 java/nio/channels/CompletionHandler.java \
jjg@450 171 java/nio/channels/SeekableByteChannel.java
jjg@441 172
jjg@371 173 # The following value is used by the main jtreg target.
jjg@371 174 # An empty value means all tests
jjg@371 175 # Override as desired to run a specific set of tests
jjg@371 176 jtreg.tests =

mercurial