build.properties revision 3062:15bdc18525ff
1163953Srrs#
2163953Srrs# Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
3163953Srrs# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4163953Srrs#
5163953Srrs# This code is free software; you can redistribute it and/or modify it
6163953Srrs# under the terms of the GNU General Public License version 2 only, as
7163953Srrs# published by the Free Software Foundation.  Oracle designates this
8163953Srrs# particular file as subject to the "Classpath" exception as provided
9163953Srrs# by Oracle in the LICENSE file that accompanied this code.
10163953Srrs#
11163953Srrs# This code is distributed in the hope that it will be useful, but WITHOUT
12163953Srrs# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13163953Srrs# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14163953Srrs# version 2 for more details (a copy is included in the LICENSE file that
15163953Srrs# accompanied this code).
16163953Srrs#
17163953Srrs# You should have received a copy of the GNU General Public License version
18163953Srrs# 2 along with this work; if not, write to the Free Software Foundation,
19163953Srrs# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20163953Srrs#
21163953Srrs# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22163953Srrs# or visit www.oracle.com if you need additional information or have any
23163953Srrs# questions.
24163953Srrs#
25163953Srrs
26163953Srrs#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
27163953Srrsjavac.debug = true
28163953Srrsjavac.debuglevel = source,lines,vars
29163953Srrsjavac.extra.opts=-XDignore.symbol.file=true
30163953Srrsjavac.includes=
31163953Srrsjavac.lint.opts = -Xlint:all,-deprecation -Werror
32163953Srrsjavac.source = 8
33163953Srrsjavac.target = 8
34163953Srrs
35163953Srrs#javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK):
36163953Srrsboot.javac.extra.opts=-XDignore.symbol.file=true
37163953Srrsboot.javac.includes = \
38163953Srrs        javax/annotation/processing/ \
39163953Srrs        javax/lang/model/ \
40163953Srrs        javax/tools/ \
41163953Srrs        jdk/ \
42163953Srrs        com/sun/source/ \
43163953Srrs        com/sun/tools/javac/ \
44163953Srrs        com/sun/tools/doclint/
45163953Srrsboot.javac.lint.opts=
46163953Srrsboot.javac.source = 8
47163953Srrsboot.javac.target = 8
48163953Srrs
49163953Srrs#configuration of submodules (share by both the bootstrap and normal compilation):
50163953Srrslangtools.modules=java.compiler:jdk.compiler:jdk.jdeps:jdk.javadoc:jdk.jshell:jdk.internal.le:jdk.jdi
51163953Srrsjava.compiler.dependencies=
52163953Srrsjdk.compiler.dependencies=java.compiler
53163953Srrsjdk.javadoc.dependencies=java.compiler:jdk.compiler
54163953Srrsjdk.jdeps.dependencies=java.compiler:jdk.compiler
55163953Srrsjdk.internal.le.dependencies=
56163953Srrsjdk.jdi.dependencies=
57163953Srrsjdk.jshell.dependencies=java.compiler:jdk.internal.le:jdk.compiler:jdk.jdi
58163953Srrs
59163953Srrstool.javac.main.class=com.sun.tools.javac.Main
60163953Srrstool.javadoc.main.class=com.sun.tools.javadoc.Main
61163953Srrstool.javap.main.class=com.sun.tools.javap.Main
62163953Srrstool.javah.main.class=com.sun.tools.javah.Main
63163953Srrstool.sjavac.main.class=com.sun.tools.sjavac.Main
64163953Srrstool.jshell.main.class=jdk.internal.jshell.tool.JShellTool
65163953Srrs
66163953Srrsjavac.resource.includes = \
67163953Srrs        com/sun/tools/javac/resources/compiler.properties
68163953Srrs
69163953Srrs#test configuration:
70163953Srrsjtreg.tests=
71163953Srrsboot.javac.tests = tools/javac
72163953Srrscrules.tests = ../make/test/crules
73163953Srrs
74163953Srrs#javadoc configuration
75163953Srrsjavadoc.jls.cite=The Java™ Language Specification
76163953Srrsjavadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \
77163953Srrs    -tag "implNote:a:Implementation Note:"
78163953Srrs
79163953Srrs# Version info -- override as needed
80163953Srrsjdk.version = 1.9.0
81163953Srrsbuild.number = b00
82163953Srrsmilestone = internal
83163953Srrs
84163953Srrs# FIXME -- these need to match the standard values
85163953Srrs# If we include date in full.version (ie for developer build)
86163953Srrs# we will need to make sure the build is idempotent (i.e.
87163953Srrs# repeated builds don't rebuild the tools, because of new
88163953Srrs# timestamps
89163953Srrs# FIXME -- need to include openjdk as needed
90163953Srrsrelease = ${jdk.version}-${milestone}
91163953Srrsfull.version = ${release}-${build.number}
92163953Srrs