build.properties revision 2873:57b69e17048f
1# 2# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. 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 7# published by the Free Software Foundation. Oracle designates this 8# particular file as subject to the "Classpath" exception as provided 9# by Oracle in the LICENSE file that accompanied this code. 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# 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. 24# 25 26#javac configuration for "normal build" (these will be passed to the bootstrap compiler): 27javac.debug = true 28javac.debuglevel = source,lines,vars 29javac.extra.opts=-XDignore.symbol.file=true 30javac.includes= 31javac.lint.opts = -Xlint:all,-deprecation -Werror 32javac.source = 8 33javac.target = 8 34 35#javac configuration for bootstrap build (these will be passed to the compiler from the given boot JDK): 36boot.javac.extra.opts=-XDignore.symbol.file=true 37boot.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/ 45boot.javac.lint.opts= 46boot.javac.source = 8 47boot.javac.target = 8 48 49#configuration of submodules (share by both the bootstrap and normal compilation): 50langtools.modules=java.compiler:jdk.compiler:jdk.dev:jdk.javadoc 51java.compiler.dependencies= 52jdk.compiler.dependencies=java.compiler 53jdk.javadoc.dependencies=java.compiler:jdk.compiler 54jdk.dev.dependencies=java.compiler:jdk.compiler 55 56javac.resource.includes = \ 57 com/sun/tools/javac/resources/compiler.properties 58 59#test configuration: 60jtreg.tests= 61boot.javac.tests = tools/javac 62crules.tests = ../make/test/crules 63 64#javadoc configuration 65javadoc.jls.cite=The Java™ Language Specification 66javadoc.jls.option=-tag "jls:a:See <cite>${javadoc.jls.cite}</cite>:" \ 67 -tag "implNote:a:Implementation Note:" 68 69# Version info -- override as needed 70jdk.version = 1.9.0 71build.number = b00 72milestone = internal 73 74# FIXME -- these need to match the standard values 75# If we include date in full.version (ie for developer build) 76# we will need to make sure the build is idempotent (i.e. 77# repeated builds don't rebuild the tools, because of new 78# timestamps 79# FIXME -- need to include openjdk as needed 80release = ${jdk.version}-${milestone} 81full.version = ${release}-${build.number} 82