make/langtools/build.properties
author jjg
Wed, 20 Dec 2017 13:28:23 -0800
changeset 48406 26b47ea4c77d
parent 47217 72e3ae9a25eb
child 50072 54eda3aad6dd
permissions -rw-r--r--
8193512: Remove remnants of javah from jdk/jdk repo Reviewed-by: tbell, erikj, alanb, darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
48406
26b47ea4c77d 8193512: Remove remnants of javah from jdk/jdk repo
jjg
parents: 47217
diff changeset
     2
# Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
#
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5004
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5004
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
#
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5004
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5004
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5004
diff changeset
    23
# questions.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
27546
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    26
#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
41519
612f31a9b42b 8167442: Langtools ant build not working after addition of -Xlint:exports
jlahoda
parents: 38507
diff changeset
    27
javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options,-exports -Werror -g:source,lines,vars
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    28
javac.source = 9
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    29
javac.target = 9
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
38507
d48ba9db4b7d 8157030: langtools dev build broken after classfile version bump
mcimadamore
parents: 36526
diff changeset
    31
#version used to compile build tools
41519
612f31a9b42b 8167442: Langtools ant build not working after addition of -Xlint:exports
jlahoda
parents: 38507
diff changeset
    32
javac.build.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
38507
d48ba9db4b7d 8157030: langtools dev build broken after classfile version bump
mcimadamore
parents: 36526
diff changeset
    33
javac.build.source = 8
d48ba9db4b7d 8157030: langtools dev build broken after classfile version bump
mcimadamore
parents: 36526
diff changeset
    34
javac.build.target = 8
d48ba9db4b7d 8157030: langtools dev build broken after classfile version bump
mcimadamore
parents: 36526
diff changeset
    35
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    36
module.names = java.compiler \
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    37
               jdk.compiler \
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    38
               jdk.javadoc \
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    39
               jdk.jdeps \
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    40
               jdk.jshell
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    41
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    42
langtools.resource.includes = \
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 27546
diff changeset
    43
        com/sun/tools/javac/resources/compiler.properties
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 27546
diff changeset
    44
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
# Version info -- override as needed
35347
12e87a369cc9 8147554: InfoOptsTest fails when executed outside make
mcimadamore
parents: 33362
diff changeset
    46
jdk.version = 9
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
build.number = b00
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
milestone = internal
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
# FIXME -- these need to match the standard values
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
# If we include date in full.version (ie for developer build)
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
# we will need to make sure the build is idempotent (i.e.
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
# repeated builds don't rebuild the tools, because of new
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
# timestamps
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
# FIXME -- need to include openjdk as needed
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
release = ${jdk.version}-${milestone}
35347
12e87a369cc9 8147554: InfoOptsTest fails when executed outside make
mcimadamore
parents: 33362
diff changeset
    57
full.version = ${release}+${build.number}
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    58
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    59
#tools configuration:
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    60
tool.javac.main.class=com.sun.tools.javac.Main
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    61
tool.javadoc.main.class=jdk.javadoc.internal.tool.Main
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    62
tool.javap.main.class=com.sun.tools.javap.Main
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    63
tool.sjavac.main.class=com.sun.tools.sjavac.Main
44461
8e5061e5b34b 8177667: Langtools ant build has issues with Windows file separators
mcimadamore
parents: 41519
diff changeset
    64
tool.jshell.main.class=jdk.internal.jshell.tool.JShellToolProvider
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    65
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    66
#test configuration:
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35347
diff changeset
    67
jtreg.tests=