langtools/make/build.properties
changeset 10 06bc494ca11e
child 727 cb50c1ae7bab
equal deleted inserted replaced
0:fd16c54261b3 10:06bc494ca11e
       
     1 #
       
     2 # Copyright 2007 Sun Microsystems, Inc.  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.  Sun designates this
       
     8 # particular file as subject to the "Classpath" exception as provided
       
     9 # by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
       
    22 # CA 95054 USA or visit www.sun.com if you need additional information or
       
    23 # have any questions.
       
    24 #
       
    25 
       
    26 # This is the JDK used to build and run the bootstrap version of javac.
       
    27 # The bootstrap javac is used to compile both boostrap versions of the
       
    28 # other tools, and product versions of all the tools.
       
    29 # Override this path as needed, either on the command line or in 
       
    30 # one of the standard user build.properties files (see build.xml)
       
    31 
       
    32 # boot.java.home = /opt/jdk/1.5.0 
       
    33 boot.java = ${boot.java.home}/bin/java
       
    34 boot.javac = ${boot.java.home}/bin/javac
       
    35 boot.javac.target = 5
       
    36 
       
    37 # This is the JDK used to run the product version of the tools,
       
    38 # for example, for testing. If you're building a complete JDK, specify that.
       
    39 # Override this path as needed, either on the command line or in 
       
    40 # one of the standard user build.properties files (see build.xml)
       
    41 
       
    42 # target.java.home = /opt/jdk/1.6.0
       
    43 target.java = ${target.java.home}/bin/java
       
    44 
       
    45 # Version info -- override as needed
       
    46 jdk.version = 1.7.0
       
    47 build.number = b00
       
    48 milestone = internal
       
    49 
       
    50 # FIXME -- these need to match the standard values
       
    51 # If we include date in full.version (ie for developer build)
       
    52 # we will need to make sure the build is idempotent (i.e.
       
    53 # repeated builds don't rebuild the tools, because of new
       
    54 # timestamps
       
    55 # FIXME -- need to include openjdk as needed
       
    56 release = ${jdk.version}-${milestone}
       
    57 bootstrap.release = ${release}_bootstrap
       
    58 full.version = ${release}-${build.number}
       
    59 bootstrap.full.version = ${bootstrap.release}-${build.number}
       
    60 
       
    61 # options for the <javac> tasks used to compile the tools
       
    62 javac.target = 6
       
    63 javac.debug = true
       
    64 javac.debuglevel = source,lines
       
    65 javac.no.jdk.warnings = -XDignore.symbol.file=true
       
    66 # set the following to -version to verify the versions of javac being used
       
    67 javac.version.opt = 
       
    68 # in time, there should be no exceptions to -Xlint:all
       
    69 javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial -Werror
       
    70 
       
    71 # options for the <javadoc> task for javac
       
    72 javadoc.jls3.url=http://java.sun.com/docs/books/jls/
       
    73 javadoc.jls3.cite=&lt;a href=&quot;${javadoc.jls3.url}&quot;&gt;The Java Language Specification, Third Edition&lt;/a&gt;    
       
    74 javadoc.jls3.option=-tag "jls3:a:See &lt;cite&gt;${javadoc.jls3.cite}&lt;/cite&gt;:"
       
    75 
       
    76 # jtreg, used to run the JDK regression tests
       
    77 # Override this path as needed, either on the command line or in 
       
    78 # one of the standard user build.properties files (see build.xml)
       
    79 
       
    80 # jtreg.home = /opt/jtreg/3.2.2_02
       
    81 
       
    82 # findbugs
       
    83 # Override this path as needed, either on the command line or in 
       
    84 # one of the standard user build.properties files (see build.xml)
       
    85 
       
    86 # findbugs.home = /opt/findbugs/1.2.1
       
    87 
       
    88 #------------------------------------------------------------
       
    89 
       
    90 # The following properties define the packages for each of the tools.
       
    91 # Syntactically, they should be suitable as arguments for the "includes"
       
    92 # parameter of Ant filesets. In particular, note the trailing '/'.
       
    93 
       
    94 javac.includes = \
       
    95 	javax/annotation/processing/ \
       
    96 	javax/lang/model/ \
       
    97 	javax/tools/ \
       
    98 	com/sun/source/ com/sun/tools/javac/
       
    99 
       
   100 javac.tests = \
       
   101 	tools/javac
       
   102     
       
   103 javadoc.includes = \
       
   104 	com/sun/javadoc/ \
       
   105 	com/sun/tools/javadoc/
       
   106 
       
   107 javadoc.tests = \
       
   108 	tools/javadoc/ 
       
   109     
       
   110 doclets.includes = \
       
   111 	com/sun/tools/doclets/
       
   112 
       
   113 doclets.tests = \
       
   114 	com/sun/javadoc/
       
   115 
       
   116 javah.includes = \
       
   117 	com/sun/tools/javah/
       
   118 
       
   119 javah.tests = \
       
   120 	tools/javah/
       
   121 
       
   122 javap.includes = \
       
   123 	sun/tools/javap/
       
   124 
       
   125 javap.tests = \
       
   126 	tools/javap/
       
   127 
       
   128 apt.includes = \
       
   129 	com/sun/mirror/ \
       
   130 	com/sun/tools/apt/
       
   131 
       
   132 apt.tests = \
       
   133 	tools/apt/
       
   134     
       
   135