langtools/make/build.properties
changeset 36526 3b41f1c69604
parent 35347 12e87a369cc9
child 38507 d48ba9db4b7d
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 #
     1 #
     2 # Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    22 # or visit www.oracle.com if you need additional information or have any
    22 # or visit www.oracle.com if you need additional information or have any
    23 # questions.
    23 # questions.
    24 #
    24 #
    25 
    25 
    26 #javac configuration for "normal build" (these will be passed to the bootstrap compiler):
    26 #javac configuration for "normal build" (these will be passed to the bootstrap compiler):
    27 javac.debug = true
    27 javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
    28 javac.debuglevel = source,lines,vars
    28 javac.source = 9
    29 javac.extra.opts=-XDignore.symbol.file=true
    29 javac.target = 9
    30 javac.includes=
       
    31 javac.lint.opts = -Xlint:all,-deprecation -Werror
       
    32 javac.source = 8
       
    33 javac.target = 8
       
    34 
    30 
    35 #javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK):
    31 langtools.resource.includes = \
    36 boot.javac.extra.opts=-XDignore.symbol.file=true
       
    37 boot.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/
       
    45 boot.javac.lint.opts=
       
    46 boot.javac.source = 8
       
    47 boot.javac.target = 8
       
    48 
       
    49 #configuration of submodules (share by both the bootstrap and normal compilation):
       
    50 langtools.modules=java.compiler:jdk.compiler:jdk.jdeps:jdk.javadoc:jdk.jshell:jdk.internal.le:jdk.jdi
       
    51 java.compiler.dependencies=
       
    52 jdk.compiler.dependencies=java.compiler
       
    53 jdk.javadoc.dependencies=java.compiler:jdk.compiler
       
    54 jdk.jdeps.dependencies=java.compiler:jdk.compiler
       
    55 jdk.internal.le.dependencies=
       
    56 jdk.jdi.dependencies=
       
    57 jdk.jshell.dependencies=java.compiler:jdk.internal.le:jdk.compiler:jdk.jdi
       
    58 
       
    59 tool.javac.main.class=com.sun.tools.javac.Main
       
    60 tool.javadoc.main.class=com.sun.tools.javadoc.Main
       
    61 tool.javap.main.class=com.sun.tools.javap.Main
       
    62 tool.javah.main.class=com.sun.tools.javah.Main
       
    63 tool.sjavac.main.class=com.sun.tools.sjavac.Main
       
    64 tool.jshell.main.class=jdk.internal.jshell.tool.JShellTool
       
    65 
       
    66 javac.resource.includes = \
       
    67         com/sun/tools/javac/resources/compiler.properties
    32         com/sun/tools/javac/resources/compiler.properties
    68 
       
    69 #test configuration:
       
    70 jtreg.tests=
       
    71 boot.javac.tests = tools/javac
       
    72 crules.tests = ../make/test/crules
       
    73 
       
    74 #javadoc configuration
       
    75 javadoc.jls.cite=The Java™ Language Specification
       
    76 javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \
       
    77     -tag "implNote:a:Implementation Note:"
       
    78 
    33 
    79 # Version info -- override as needed
    34 # Version info -- override as needed
    80 jdk.version = 9
    35 jdk.version = 9
    81 build.number = b00
    36 build.number = b00
    82 milestone = internal
    37 milestone = internal
    87 # repeated builds don't rebuild the tools, because of new
    42 # repeated builds don't rebuild the tools, because of new
    88 # timestamps
    43 # timestamps
    89 # FIXME -- need to include openjdk as needed
    44 # FIXME -- need to include openjdk as needed
    90 release = ${jdk.version}-${milestone}
    45 release = ${jdk.version}-${milestone}
    91 full.version = ${release}+${build.number}
    46 full.version = ${release}+${build.number}
       
    47 
       
    48 #tools configuration:
       
    49 tool.javac.main.class=com.sun.tools.javac.Main
       
    50 tool.javadoc.main.class=jdk.javadoc.internal.tool.Main
       
    51 tool.javap.main.class=com.sun.tools.javap.Main
       
    52 tool.javah.main.class=com.sun.tools.javah.Main
       
    53 tool.sjavac.main.class=com.sun.tools.sjavac.Main
       
    54 tool.jshell.main.class=jdk.internal.jshell.tool.JShellTool
       
    55 
       
    56 #test configuration:
       
    57 jtreg.tests=