langtools/make/build.properties
author mcimadamore
Mon, 29 Sep 2008 15:30:27 +0100
changeset 1359 4cba41f47776
parent 728 1c050d9b10c6
child 1789 7ac8c0815000
permissions -rw-r--r--
6753718: raw type warnings should be suprresed during a langtools build Summary: fixed build.properties in order to suppress raw type warnings Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
728
1c050d9b10c6 6711276: langtools has incorrect -Werror switch
jjg
parents: 727
diff changeset
     2
# Copyright 2007-2008 Sun Microsystems, Inc.  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
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.  Sun designates this
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
# by Sun in the LICENSE file that accompanied this code.
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
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
# CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
# have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
# This is the JDK used to build and run the bootstrap version of javac.
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
# The bootstrap javac is used to compile both boostrap versions of the
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
# other tools, and product versions of all the tools.
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
# Override this path as needed, either on the command line or in 
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
# one of the standard user build.properties files (see build.xml)
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
# boot.java.home = /opt/jdk/1.5.0 
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
boot.java = ${boot.java.home}/bin/java
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
boot.javac = ${boot.java.home}/bin/javac
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
boot.javac.target = 5
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
# This is the JDK used to run the product version of the tools,
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
# for example, for testing. If you're building a complete JDK, specify that.
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
# Override this path as needed, either on the command line or in 
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
# one of the standard user build.properties files (see build.xml)
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
# target.java.home = /opt/jdk/1.6.0
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
target.java = ${target.java.home}/bin/java
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
# Version info -- override as needed
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
jdk.version = 1.7.0
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}
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
bootstrap.release = ${release}_bootstrap
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
full.version = ${release}-${build.number}
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
bootstrap.full.version = ${bootstrap.release}-${build.number}
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
# options for the <javac> tasks used to compile the tools
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
javac.target = 6
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
javac.debug = true
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
javac.debuglevel = source,lines
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
javac.no.jdk.warnings = -XDignore.symbol.file=true
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
# set the following to -version to verify the versions of javac being used
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
javac.version.opt = 
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
# in time, there should be no exceptions to -Xlint:all
1359
4cba41f47776 6753718: raw type warnings should be suprresed during a langtools build
mcimadamore
parents: 728
diff changeset
    69
javac.lint.opts = -Xlint:all,-deprecation,-fallthrough,-serial,-unchecked,-cast,-rawtypes
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
# options for the <javadoc> task for javac
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
javadoc.jls3.url=http://java.sun.com/docs/books/jls/
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;    
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
# jtreg, used to run the JDK regression tests
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
# Override this path as needed, either on the command line or in 
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
# one of the standard user build.properties files (see build.xml)
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
# jtreg.home = /opt/jtreg/3.2.2_02
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
# findbugs
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
# Override this path as needed, either on the command line or in 
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
# one of the standard user build.properties files (see build.xml)
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
# findbugs.home = /opt/findbugs/1.2.1
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
#------------------------------------------------------------
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
# The following properties define the packages for each of the tools.
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
# Syntactically, they should be suitable as arguments for the "includes"
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
# parameter of Ant filesets. In particular, note the trailing '/'.
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
06bc494ca11e Initial load
duke
parents:
diff changeset
    94
javac.includes = \
06bc494ca11e Initial load
duke
parents:
diff changeset
    95
	javax/annotation/processing/ \
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
	javax/lang/model/ \
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
	javax/tools/ \
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
	com/sun/source/ com/sun/tools/javac/
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
javac.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
	tools/javac
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
    
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
javadoc.includes = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
	com/sun/javadoc/ \
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
	com/sun/tools/javadoc/
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
javadoc.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
	tools/javadoc/ 
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
    
06bc494ca11e Initial load
duke
parents:
diff changeset
   110
doclets.includes = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
	com/sun/tools/doclets/
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
doclets.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
	com/sun/javadoc/
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
javah.includes = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
	com/sun/tools/javah/
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
javah.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
	tools/javah/
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
javap.includes = \
727
cb50c1ae7bab 4075303: Use javap to enquire aboput a specific inner class
jjg
parents: 10
diff changeset
   123
	com/sun/tools/classfile/ \
cb50c1ae7bab 4075303: Use javap to enquire aboput a specific inner class
jjg
parents: 10
diff changeset
   124
	com/sun/tools/javap/ \
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
	sun/tools/javap/
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
javap.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
	tools/javap/
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
apt.includes = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
	com/sun/mirror/ \
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
	com/sun/tools/apt/
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
apt.tests = \
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
	tools/apt/
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
    
06bc494ca11e Initial load
duke
parents:
diff changeset
   137