build.properties revision 2776:aa568700edd1
1#
2# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
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
7# published by the Free Software Foundation.  Oracle designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Oracle in the LICENSE file that accompanied this code.
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#
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.
24#
25
26#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
27javac.debug = true
28javac.debuglevel = source,lines,vars
29javac.extra.opts=-XDignore.symbol.file=true
30javac.includes=
31javac.lint.opts = -Xlint:all,-deprecation -Werror
32javac.source = 8
33javac.target = 8
34
35#javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK):
36boot.javac.extra.opts=-XDignore.symbol.file=true
37boot.javac.includes = \
38        javax/annotation/processing/ \
39        javax/lang/model/ \
40        javax/tools/ \
41        jdk/ \
42        com/sun/source/ \
43        com/sun/tools/javac/ \
44        com/sun/tools/doclint/
45boot.javac.lint.opts=
46boot.javac.source = 8
47boot.javac.target = 8
48
49#configuration of submodules (share by both the bootstrap and normal compilation):
50langtools.modules=java.base:java.compiler:jdk.compiler:jdk.dev:jdk.javadoc
51java.base.dependencies=
52java.compiler.dependencies=java.base
53jdk.compiler.dependencies=java.base:java.compiler
54jdk.javadoc.dependencies=java.base:java.compiler:jdk.compiler
55jdk.dev.dependencies=java.base:java.compiler:jdk.compiler
56
57javac.resource.includes = \
58        com/sun/tools/javac/resources/compiler.properties
59
60#test configuration:
61jtreg.tests=
62boot.javac.tests = tools/javac
63crules.tests = ../make/test/crules
64
65#javadoc configuration
66javadoc.jls.cite=The Java™ Language Specification
67javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \
68    -tag "implNote:a:Implementation Note:"
69
70# Version info -- override as needed
71jdk.version = 1.9.0
72build.number = b00
73milestone = internal
74
75# FIXME -- these need to match the standard values
76# If we include date in full.version (ie for developer build)
77# we will need to make sure the build is idempotent (i.e.
78# repeated builds don't rebuild the tools, because of new
79# timestamps
80# FIXME -- need to include openjdk as needed
81release = ${jdk.version}-${milestone}
82full.version = ${release}-${build.number}
83