[2] | 1 | #
|
---|
[278] | 2 | # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
|
---|
[2] | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
---|
| 4 | #
|
---|
| 5 | # This code is free software; you can redistribute it and/or modify it
|
---|
| 6 | # under the terms of the GNU General Public License version 2 only, as
|
---|
[278] | 7 | # published by the Free Software Foundation. Oracle designates this
|
---|
[2] | 8 | # particular file as subject to the "Classpath" exception as provided
|
---|
[278] | 9 | # by Oracle in the LICENSE file that accompanied this code.
|
---|
[2] | 10 | #
|
---|
| 11 | # This code is distributed in the hope that it will be useful, but WITHOUT
|
---|
| 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
---|
| 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
---|
| 14 | # version 2 for more details (a copy is included in the LICENSE file that
|
---|
| 15 | # accompanied this code).
|
---|
| 16 | #
|
---|
| 17 | # You should have received a copy of the GNU General Public License version
|
---|
| 18 | # 2 along with this work; if not, write to the Free Software Foundation,
|
---|
| 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
---|
| 20 | #
|
---|
[278] | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
---|
| 22 | # or visit www.oracle.com if you need additional information or have any
|
---|
| 23 | # questions.
|
---|
[2] | 24 | #
|
---|
| 25 |
|
---|
| 26 | # This is the JDK used to build and run the bootstrap version of javac.
|
---|
| 27 | # The bootstrap javac is used to compile both boostrap versions of the
|
---|
| 28 | # other tools, and product versions of all the tools.
|
---|
| 29 | # Override this path as needed, either on the command line or in
|
---|
| 30 | # one of the standard user build.properties files (see build.xml)
|
---|
| 31 |
|
---|
| 32 | # boot.java.home = /opt/jdk/1.5.0
|
---|
| 33 | boot.java = ${boot.java.home}/bin/java
|
---|
| 34 | boot.javac = ${boot.java.home}/bin/javac
|
---|
| 35 | boot.javac.source = 5
|
---|
| 36 | boot.javac.target = 5
|
---|
| 37 |
|
---|
| 38 | # This is the JDK used to run the product version of the tools,
|
---|
| 39 | # for example, for testing. If you're building a complete JDK, specify that.
|
---|
| 40 | # Override this path as needed, either on the command line or in
|
---|
| 41 | # one of the standard user build.properties files (see build.xml)
|
---|
| 42 |
|
---|
| 43 | # target.java.home = /opt/jdk/1.6.0
|
---|
| 44 | target.java = ${target.java.home}/bin/java
|
---|
| 45 |
|
---|
| 46 | # Version info -- override as needed
|
---|
| 47 | jdk.version = 1.6.0
|
---|
| 48 | build.number = b00
|
---|
| 49 | milestone = internal
|
---|
| 50 |
|
---|
| 51 | # FIXME -- these need to match the standard values
|
---|
| 52 | # If we include date in full.version (ie for developer build)
|
---|
| 53 | # we will need to make sure the build is idempotent (i.e.
|
---|
| 54 | # repeated builds don't rebuild the tools, because of new
|
---|
| 55 | # timestamps
|
---|
| 56 | # FIXME -- need to include openjdk as needed
|
---|
| 57 | release = ${jdk.version}-${milestone}
|
---|
| 58 | bootstrap.release = ${release}_bootstrap
|
---|
| 59 | full.version = ${release}-${build.number}
|
---|
| 60 | bootstrap.full.version = ${bootstrap.release}-${build.number}
|
---|
| 61 |
|
---|
| 62 | # options for the <javac> tasks used to compile the tools
|
---|
| 63 | javac.source = 5
|
---|
| 64 | javac.target = 5
|
---|
| 65 | javac.debug = true
|
---|
| 66 | javac.debuglevel = source,lines
|
---|
| 67 | javac.no.jdk.warnings = -XDignore.symbol.file=true
|
---|
| 68 | # set the following to -version to verify the versions of javac being used
|
---|
| 69 | javac.version.opt =
|
---|
| 70 | # in time, there should be no exceptions to -Xlint:all
|
---|
| 71 | javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial -Werror
|
---|
| 72 |
|
---|
| 73 | # options for the <javadoc> task for javac
|
---|
| 74 | javadoc.jls3.url=http://java.sun.com/docs/books/jls/
|
---|
| 75 | javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a>
|
---|
| 76 | javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:"
|
---|
| 77 |
|
---|
| 78 | # jtreg, used to run the JDK regression tests
|
---|
| 79 | # Override this path as needed, either on the command line or in
|
---|
| 80 | # one of the standard user build.properties files (see build.xml)
|
---|
| 81 |
|
---|
| 82 | # jtreg.home = /opt/jtreg/3.2.2_02
|
---|
| 83 |
|
---|
| 84 | # findbugs
|
---|
| 85 | # Override this path as needed, either on the command line or in
|
---|
| 86 | # one of the standard user build.properties files (see build.xml)
|
---|
| 87 |
|
---|
| 88 | # findbugs.home = /opt/findbugs/1.2.1
|
---|
| 89 |
|
---|
| 90 | #------------------------------------------------------------
|
---|
| 91 |
|
---|
| 92 | # The following properties define the packages for each of the tools.
|
---|
| 93 | # Syntactically, they should be suitable as arguments for the "includes"
|
---|
| 94 | # parameter of Ant filesets. In particular, note the trailing '/'.
|
---|
| 95 |
|
---|
| 96 | javac.includes = \
|
---|
| 97 | javax/annotation/processing/ \
|
---|
| 98 | javax/lang/model/ \
|
---|
| 99 | javax/tools/ \
|
---|
| 100 | com/sun/source/ com/sun/tools/javac/
|
---|
| 101 |
|
---|
| 102 | javac.tests = \
|
---|
| 103 | tools/javac
|
---|
| 104 |
|
---|
| 105 | #
|
---|
| 106 |
|
---|
| 107 | javadoc.includes = \
|
---|
| 108 | com/sun/javadoc/ \
|
---|
| 109 | com/sun/tools/javadoc/
|
---|
| 110 |
|
---|
| 111 | javadoc.tests = \
|
---|
| 112 | tools/javadoc/
|
---|
| 113 |
|
---|
| 114 | #
|
---|
| 115 |
|
---|
| 116 | doclets.includes = \
|
---|
| 117 | com/sun/tools/doclets/
|
---|
| 118 |
|
---|
| 119 | doclets.tests = \
|
---|
| 120 | com/sun/javadoc/
|
---|
| 121 |
|
---|
| 122 | #
|
---|
| 123 |
|
---|
| 124 | javah.includes = \
|
---|
| 125 | com/sun/tools/javah/
|
---|
| 126 |
|
---|
| 127 | javah.tests = \
|
---|
| 128 | tools/javah/
|
---|
| 129 |
|
---|
| 130 | #
|
---|
| 131 |
|
---|
| 132 | javap.includes = \
|
---|
| 133 | sun/tools/javap/
|
---|
| 134 |
|
---|
| 135 | javap.tests = \
|
---|
| 136 | tools/javap/
|
---|
| 137 |
|
---|
| 138 | #
|
---|
| 139 |
|
---|
| 140 | apt.includes = \
|
---|
| 141 | com/sun/mirror/ \
|
---|
| 142 | com/sun/tools/apt/
|
---|
| 143 |
|
---|
| 144 | apt.tests = \
|
---|
| 145 | tools/apt/
|
---|
| 146 |
|
---|
| 147 | #
|
---|
| 148 |
|
---|
| 149 | # The following value is used by the main jtreg target.
|
---|
| 150 | # An empty value means all tests
|
---|
| 151 | # Override as desired to run a specific set of tests
|
---|
| 152 | jtreg.tests =
|
---|