J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 1 | # |
Kelly O'Hair | 84b5875 | 2010-12-28 15:54:52 -0800 | [diff] [blame] | 2 | # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 |
Kelly O'Hair | bd4f4be | 2010-05-25 15:54:51 -0700 | [diff] [blame] | 7 | # published by the Free Software Foundation. Oracle designates this |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 8 | # particular file as subject to the "Classpath" exception as provided |
Kelly O'Hair | bd4f4be | 2010-05-25 15:54:51 -0700 | [diff] [blame] | 9 | # by Oracle in the LICENSE file that accompanied this code. |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 | # |
Kelly O'Hair | bd4f4be | 2010-05-25 15:54:51 -0700 | [diff] [blame] | 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. |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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. |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 29 | # Override this path as needed, either on the command line or in |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 30 | # one of the standard user build.properties files (see build.xml) |
| 31 | |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 32 | # boot.java.home = /opt/jdk/1.6.0 |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 33 | boot.java = ${boot.java.home}/bin/java |
| 34 | boot.javac = ${boot.java.home}/bin/javac |
Jonathan Gibbons | 6fbe9f9 | 2009-05-20 13:36:23 -0700 | [diff] [blame] | 35 | boot.javac.source = 6 |
| 36 | boot.javac.target = 6 |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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. |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 40 | # Override this path as needed, either on the command line or in |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 41 | # one of the standard user build.properties files (see build.xml) |
| 42 | |
Jonathan Gibbons | 46c42f2 | 2009-08-11 18:35:05 -0700 | [diff] [blame] | 43 | # target.java.home = /opt/jdk/1.7.0 |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 44 | target.java = ${target.java.home}/bin/java |
| 45 | |
| 46 | # Version info -- override as needed |
| 47 | jdk.version = 1.7.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 |
Jonathan Gibbons | b84cd5a | 2009-07-27 15:20:03 -0700 | [diff] [blame] | 63 | javac.source = 7 |
| 64 | javac.target = 7 |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 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 |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 69 | javac.version.opt = |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 70 | # in time, there should be no exceptions to -Xlint:all |
Joe Darcy | 55dc8eb | 2009-07-26 21:27:11 -0700 | [diff] [blame] | 71 | javac.lint.opts = -Xlint:all,-deprecation -Werror |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 72 | |
| 73 | # options for the <javadoc> task for javac |
Jim Holmlund | e9456bc | 2011-04-13 11:35:43 -0700 | [diff] [blame] | 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 | |
| 79 | javadoc.jls.cite=The Java™ Language Specification |
| 80 | |
| 81 | javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 86 | |
| 87 | # jtreg, used to run the JDK regression tests |
Jonathan Gibbons | c8cce21 | 2010-06-04 14:54:54 -0700 | [diff] [blame] | 88 | # See http://openjdk.java.net/jtreg/ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 89 | # Override this path as needed, either on the command line or in |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 90 | # one of the standard user build.properties files (see build.xml) |
| 91 | |
Jonathan Gibbons | c8cce21 | 2010-06-04 14:54:54 -0700 | [diff] [blame] | 92 | # jtreg.home = /opt/jtreg/4.1 |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 93 | |
| 94 | # findbugs |
Jonathan Gibbons | c8cce21 | 2010-06-04 14:54:54 -0700 | [diff] [blame] | 95 | # See http://findbugs.sourceforge.net/ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 96 | # Override this path as needed, either on the command line or in |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 97 | # one of the standard user build.properties files (see build.xml) |
| 98 | |
| 99 | # findbugs.home = /opt/findbugs/1.2.1 |
| 100 | |
Jonathan Gibbons | c8cce21 | 2010-06-04 14:54:54 -0700 | [diff] [blame] | 101 | # vizant (graph visualization tool for Ant) |
| 102 | # See http://vizant.sourceforge.net/ |
| 103 | # Override this path as needed, either on the command line or in |
| 104 | # one of the standard user build.properties files (see build.xml) |
| 105 | |
| 106 | # vizant.jar = /opt/vizant/0.1.2/vizant-0.1.2.jar |
| 107 | # dot = dot |
| 108 | |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 109 | #------------------------------------------------------------ |
| 110 | |
| 111 | # The following properties define the packages for each of the tools. |
| 112 | # Syntactically, they should be suitable as arguments for the "includes" |
| 113 | # parameter of Ant filesets. In particular, note the trailing '/'. |
| 114 | |
| 115 | javac.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 116 | javax/annotation/processing/ \ |
| 117 | javax/lang/model/ \ |
| 118 | javax/tools/ \ |
Tom Ball | 985efdc | 2010-07-16 19:35:24 -0700 | [diff] [blame] | 119 | com/sun/source/ \ |
| 120 | com/sun/tools/javac/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 121 | |
| 122 | javac.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 123 | tools/javac |
| 124 | |
| 125 | # |
| 126 | |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 127 | javadoc.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 128 | com/sun/javadoc/ \ |
| 129 | com/sun/tools/javadoc/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 130 | |
| 131 | javadoc.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 132 | tools/javadoc/ |
| 133 | |
| 134 | # |
| 135 | |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 136 | doclets.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 137 | com/sun/tools/doclets/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 138 | |
| 139 | doclets.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 140 | com/sun/javadoc/ |
| 141 | |
| 142 | # |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 143 | |
| 144 | javah.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 145 | com/sun/tools/javah/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 146 | |
| 147 | javah.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 148 | tools/javah/ |
| 149 | |
| 150 | # |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 151 | |
| 152 | javap.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 153 | com/sun/tools/classfile/ \ |
| 154 | com/sun/tools/javap/ \ |
| 155 | sun/tools/javap/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 156 | |
| 157 | javap.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 158 | tools/javap/ |
| 159 | |
| 160 | # |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 161 | |
| 162 | apt.includes = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 163 | com/sun/mirror/ \ |
| 164 | com/sun/tools/apt/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 165 | |
| 166 | apt.tests = \ |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 167 | tools/apt/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 168 | |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 169 | # |
| 170 | |
Jonathan Gibbons | aa58d21 | 2010-06-04 17:33:25 -0700 | [diff] [blame] | 171 | # The following files require the latest JDK to be available. |
| 172 | # The API can be provided by using a suitable boot.java.home |
| 173 | # or by setting import.jdk |
| 174 | require.latest.jdk.files = \ |
Jonathan Gibbons | 75f1fee | 2009-12-11 14:26:27 -0800 | [diff] [blame] | 175 | com/sun/tools/javac/nio/*.java |
Jonathan Gibbons | 42bf834 | 2009-11-20 11:18:43 -0800 | [diff] [blame] | 176 | |
| 177 | # The following files in the import jdk source directory are required |
Jonathan Gibbons | aa58d21 | 2010-06-04 17:33:25 -0700 | [diff] [blame] | 178 | # in order to compile the files defined in ${require.latest.jdk.files} |
Jonathan Gibbons | 75f1fee | 2009-12-11 14:26:27 -0800 | [diff] [blame] | 179 | # |
| 180 | # For NIO, the list of stub files is defined by the contents of the primary |
| 181 | # API packages, together with such types that may be required in order to |
| 182 | # compile the stubs. Some of these dependencies would go away if the stub |
| 183 | # generator were to be improved -- e.g. by removing unnecessary imports. |
| 184 | # |
| 185 | import.jdk.stub.files = \ |
| 186 | java/io/File.java \ |
| 187 | java/nio/file/**.java \ |
| 188 | java/nio/file/attribute/**.java \ |
| 189 | java/nio/file/spi/**.java \ |
| 190 | java/nio/channels/AsynchronousChannel.java \ |
| 191 | java/nio/channels/AsynchronousFileChannel.java \ |
| 192 | java/nio/channels/CompletionHandler.java \ |
| 193 | java/nio/channels/SeekableByteChannel.java |
Jonathan Gibbons | 42bf834 | 2009-11-20 11:18:43 -0800 | [diff] [blame] | 194 | |
Jonathan Gibbons | b953030 | 2009-08-12 07:54:30 -0700 | [diff] [blame] | 195 | # The following value is used by the main jtreg target. |
| 196 | # An empty value means all tests |
| 197 | # Override as desired to run a specific set of tests |
| 198 | jtreg.tests = |