langtools/make/build.properties
author jlahoda
Fri, 07 Nov 2014 18:22:36 +0100
changeset 27546 79b6b60ff60a
parent 27224 228abfa87080
child 28334 1633de6070ae
permissions -rw-r--r--
8058489: More adjustments of langtools/make/build.xml to modularized layout Summary: Re-structuring the langtools/make/build.xml to reflect the modular layout, cleanup of the build script Reviewed-by: jjg, mcimadamore, ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
25848
3bc09f4676a9 8043643: Add an crules analyzer avoiding string concatenation in messages of Assert checks.
jlahoda
parents: 21041
diff changeset
     2
# Copyright (c) 2007, 2014, 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):
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    27
javac.debug = true
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    28
javac.debuglevel = source,lines,vars
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    29
javac.extra.opts=-XDignore.symbol.file=true
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    30
javac.includes=
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    31
javac.lint.opts = -Xlint:all,-deprecation -Werror
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    32
javac.source = 8
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    33
javac.target = 8
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
27546
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    35
#javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK):
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    36
boot.javac.extra.opts=-XDignore.symbol.file=true
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    37
boot.javac.includes = \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    38
        javax/annotation/processing/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    39
        javax/lang/model/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    40
        javax/tools/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    41
        jdk/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    42
        com/sun/source/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    43
        com/sun/tools/javac/ \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    44
        com/sun/tools/doclint/
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    45
boot.javac.lint.opts=
27224
228abfa87080 8054457: Refactor Symbol kinds from small ints to an enum
emc
parents: 26268
diff changeset
    46
boot.javac.source = 8
228abfa87080 8054457: Refactor Symbol kinds from small ints to an enum
emc
parents: 26268
diff changeset
    47
boot.javac.target = 8
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
27546
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    49
#configuration of submodules (share by both the bootstrap and normal compilation):
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    50
langtools.modules=java.base:java.compiler:jdk.compiler:jdk.dev:jdk.javadoc
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    51
java.base.dependencies=
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    52
java.compiler.dependencies=java.base
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    53
jdk.compiler.dependencies=java.base:java.compiler
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    54
jdk.javadoc.dependencies=java.base:java.compiler:jdk.compiler
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    55
jdk.dev.dependencies=java.base:java.compiler:jdk.compiler
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
27546
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    57
#test configuration:
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    58
jtreg.tests=
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    59
boot.javac.tests = tools/javac
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    60
crules.tests = ../make/test/crules
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    61
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    62
#javadoc configuration
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    63
javadoc.jls.cite=The Java™ Language Specification
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    64
javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \
79b6b60ff60a 8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents: 27224
diff changeset
    65
    -tag "implNote:a:Implementation Note:"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
# Version info -- override as needed
26264
a09fedde76be 8044859: javac duplicates option processing when using Compiler API
jjg
parents: 26100
diff changeset
    68
jdk.version = 1.9.0
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
build.number = b00
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
milestone = internal
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
# FIXME -- these need to match the standard values
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
# If we include date in full.version (ie for developer build)
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
# we will need to make sure the build is idempotent (i.e.
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
# repeated builds don't rebuild the tools, because of new
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
# timestamps
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
# FIXME -- need to include openjdk as needed
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
release = ${jdk.version}-${milestone}
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
full.version = ${release}-${build.number}