make/build.properties

Sun, 26 Jul 2009 21:27:11 -0700

author
darcy
date
Sun, 26 Jul 2009 21:27:11 -0700
changeset 331
d043adadc8b6
parent 286
79eb8795a1de
child 332
cf08b64e87da
permissions
-rw-r--r--

6381698: Warn of decommissioning of apt
Reviewed-by: jjg

duke@1 1 #
xdono@229 2 # Copyright 2007-2009 Sun Microsystems, Inc. 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
duke@1 7 # published by the Free Software Foundation. Sun designates this
duke@1 8 # particular file as subject to the "Classpath" exception as provided
duke@1 9 # by Sun 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 #
duke@1 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@1 22 # CA 95054 USA or visit www.sun.com if you need additional information or
duke@1 23 # have any 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.
duke@1 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
duke@1 32 # boot.java.home = /opt/jdk/1.5.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.
duke@1 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
duke@1 43 # target.java.home = /opt/jdk/1.6.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@286 63 javac.source = 5
jjg@286 64 javac.target = 5
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
duke@1 69 javac.version.opt =
duke@1 70 # in time, there should be no exceptions to -Xlint:all
darcy@331 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/
duke@1 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
duke@1 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
duke@1 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 = \
duke@1 97 javax/annotation/processing/ \
duke@1 98 javax/lang/model/ \
duke@1 99 javax/tools/ \
duke@1 100 com/sun/source/ com/sun/tools/javac/
duke@1 101
duke@1 102 javac.tests = \
duke@1 103 tools/javac
duke@1 104
duke@1 105 javadoc.includes = \
duke@1 106 com/sun/javadoc/ \
duke@1 107 com/sun/tools/javadoc/
duke@1 108
duke@1 109 javadoc.tests = \
duke@1 110 tools/javadoc/
duke@1 111
duke@1 112 doclets.includes = \
duke@1 113 com/sun/tools/doclets/
duke@1 114
duke@1 115 doclets.tests = \
duke@1 116 com/sun/javadoc/
duke@1 117
duke@1 118 javah.includes = \
duke@1 119 com/sun/tools/javah/
duke@1 120
duke@1 121 javah.tests = \
duke@1 122 tools/javah/
duke@1 123
duke@1 124 javap.includes = \
jjg@46 125 com/sun/tools/classfile/ \
jjg@46 126 com/sun/tools/javap/ \
duke@1 127 sun/tools/javap/
duke@1 128
duke@1 129 javap.tests = \
duke@1 130 tools/javap/
duke@1 131
duke@1 132 apt.includes = \
duke@1 133 com/sun/mirror/ \
duke@1 134 com/sun/tools/apt/
duke@1 135
duke@1 136 apt.tests = \
duke@1 137 tools/apt/
duke@1 138
duke@1 139

mercurial