author | shade |
Thu, 04 Feb 2016 21:44:23 +0300 | |
changeset 35708 | 290a3952e434 |
parent 35347 | 12e87a369cc9 |
child 36526 | 3b41f1c69604 |
permissions | -rw-r--r-- |
10 | 1 |
# |
33362
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
2 |
# Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. |
10 | 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 |
|
5520 | 7 |
# published by the Free Software Foundation. Oracle designates this |
10 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5520 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
10 | 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 |
# |
|
5520 | 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. |
|
10 | 24 |
# |
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 | 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 | 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): |
33362
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
50 |
langtools.modules=java.compiler:jdk.compiler:jdk.jdeps:jdk.javadoc:jdk.jshell:jdk.internal.le:jdk.jdi |
29781 | 51 |
java.compiler.dependencies= |
52 |
jdk.compiler.dependencies=java.compiler |
|
53 |
jdk.javadoc.dependencies=java.compiler:jdk.compiler |
|
30846 | 54 |
jdk.jdeps.dependencies=java.compiler:jdk.compiler |
33362
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
55 |
jdk.internal.le.dependencies= |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
56 |
jdk.jdi.dependencies= |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
57 |
jdk.jshell.dependencies=java.compiler:jdk.internal.le:jdk.compiler:jdk.jdi |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
58 |
|
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
59 |
tool.javac.main.class=com.sun.tools.javac.Main |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
60 |
tool.javadoc.main.class=com.sun.tools.javadoc.Main |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
61 |
tool.javap.main.class=com.sun.tools.javap.Main |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
62 |
tool.javah.main.class=com.sun.tools.javah.Main |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
63 |
tool.sjavac.main.class=com.sun.tools.sjavac.Main |
65ec6de1d6b4
8134254: JShell API/tool: REPL for Java into JDK9
jlahoda
parents:
30846
diff
changeset
|
64 |
tool.jshell.main.class=jdk.internal.jshell.tool.JShellTool |
10 | 65 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
27546
diff
changeset
|
66 |
javac.resource.includes = \ |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
27546
diff
changeset
|
67 |
com/sun/tools/javac/resources/compiler.properties |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
27546
diff
changeset
|
68 |
|
27546
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
69 |
#test configuration: |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
70 |
jtreg.tests= |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
71 |
boot.javac.tests = tools/javac |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
72 |
crules.tests = ../make/test/crules |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
73 |
|
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
74 |
#javadoc configuration |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
75 |
javadoc.jls.cite=The Java™ Language Specification |
79b6b60ff60a
8058489: More adjustments of langtools/make/build.xml to modularized layout
jlahoda
parents:
27224
diff
changeset
|
76 |
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
|
77 |
-tag "implNote:a:Implementation Note:" |
10 | 78 |
|
79 |
# Version info -- override as needed |
|
35347
12e87a369cc9
8147554: InfoOptsTest fails when executed outside make
mcimadamore
parents:
33362
diff
changeset
|
80 |
jdk.version = 9 |
10 | 81 |
build.number = b00 |
82 |
milestone = internal |
|
83 |
||
84 |
# FIXME -- these need to match the standard values |
|
85 |
# If we include date in full.version (ie for developer build) |
|
86 |
# we will need to make sure the build is idempotent (i.e. |
|
87 |
# repeated builds don't rebuild the tools, because of new |
|
88 |
# timestamps |
|
89 |
# FIXME -- need to include openjdk as needed |
|
90 |
release = ${jdk.version}-${milestone} |
|
35347
12e87a369cc9
8147554: InfoOptsTest fails when executed outside make
mcimadamore
parents:
33362
diff
changeset
|
91 |
full.version = ${release}+${build.number} |