build.properties

Thu, 29 Sep 2011 18:53:49 -0700

author
katleman
date
Thu, 29 Sep 2011 18:53:49 -0700
changeset 240
1c9d4f59acf8
parent 170
86f60e5b3975
child 256
23c42f40fd3e
permissions
-rw-r--r--

Added tag jdk8-b07 for changeset 134b0debf7b0

duke@1 1 #
ohair@170 2 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
duke@1 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@1 4 #
duke@1 5 # This code is free software; you can redistribute it and/or modify it
duke@1 6 # under the terms of the GNU General Public License version 2 only, as
ohair@116 7 # published by the Free Software Foundation. Oracle designates this
duke@1 8 # particular file as subject to the "Classpath" exception as provided
ohair@116 9 # by Oracle in the LICENSE file that accompanied this code.
duke@1 10 #
duke@1 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@1 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@1 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@1 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@1 15 # accompanied this code).
duke@1 16 #
duke@1 17 # You should have received a copy of the GNU General Public License version
duke@1 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@1 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@1 20 #
ohair@116 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@116 22 # or visit www.oracle.com if you need additional information or have any
ohair@116 23 # questions.
duke@1 24 #
duke@1 25
ohair@85 26 # Base locations where bundles are located
ohair@85 27 slashjava=/java
andrew@92 28 drops.dir=${slashjava}/devtools/share/jdk7-drops
ohair@85 29
duke@1 30 # This is the JDK used to build and run the bootstrap version of javac.
duke@1 31 # The bootstrap javac is used to compile both boostrap versions of the
duke@1 32 # other tools, and product versions of all the tools.
duke@1 33 # Override this path as needed, either on the command line or in
duke@1 34 # one of the standard user build.properties files (see build.xml)
ohair@85 35 javac.jar=${bootstrap.dir}/lib/javac.jar
duke@1 36
ohair@95 37 # The tools.jar is needed in the classpath to compile these sources
ohair@95 38 jdk.home=${java.home}/..
ohair@95 39 tools.jar=${jdk.home}/lib/tools.jar
ohair@95 40
duke@1 41 # options for the <javac> tasks used to compile the tools
jjg@73 42 javac.source = 7
jjg@73 43 javac.target = 7
duke@1 44 javac.debug = true
duke@1 45 javac.no.jdk.warnings = -XDignore.symbol.file=true
duke@1 46 # set the following to -version to verify the versions of javac being used
duke@1 47 javac.version.opt =
duke@1 48 # in time, there should be no exceptions to -Xlint:all
ohair@85 49 #javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial
ohair@85 50 javac.lint.opts=
duke@1 51
duke@1 52 # JVM memory size
ohair@85 53 javac.memoryInitialSize = 256m
ohair@85 54 javac.memoryMaximumSize = 512m
duke@1 55
duke@1 56 #------------------------------------------------------------
ohair@85 57
ohair@85 58 # Root of output directories
ohair@85 59 output.dir=.
ohair@85 60
ohair@85 61 # Built files
ohair@85 62 build.dir=${output.dir}/build
ohair@85 63 build.classes.dir=${build.dir}/classes
ohair@85 64
ohair@85 65 # Distributed results
ohair@85 66 dist.dir=${output.dir}/dist
ohair@85 67 dist.lib.dir=${dist.dir}/lib
ohair@85 68 dist.classes.jar=${dist.lib.dir}/classes.jar
ohair@85 69 dist.src.zip=${dist.lib.dir}/src.zip
ohair@85 70
ohair@91 71 # Where all drop sources get placed when downloaded and unzipped
ohair@91 72 drop.expanded.dir=${output.dir}/drop
ohair@91 73
ohair@91 74 # Location if the sources were included already
ohair@91 75 drop.included.dir=./drop_included
ohair@85 76
ohair@85 77 # Where patches to drop bundle sources live
ohair@85 78 patches.dir=patches
ohair@85 79
ohair@85 80 # Sanity information
ohair@85 81 sanity.info= Sanity Settings:${line.separator}\
ohair@85 82 ant.home=${ant.home}${line.separator}\
ohair@85 83 ant.version=${ant.version}${line.separator}\
ohair@85 84 ant.java.version=${ant.java.version}${line.separator}\
ohair@85 85 java.home=${java.home}${line.separator}\
ohair@85 86 java.version=${java.version}${line.separator}\
ohair@85 87 os.name=${os.name}${line.separator}\
ohair@85 88 os.arch=${os.arch}${line.separator}\
ohair@85 89 os.version=${os.version}${line.separator}\
ohair@85 90 bootstrap.dir=${bootstrap.dir}${line.separator}\
ohair@85 91 javac.jar=${javac.jar}${line.separator}\
ohair@85 92 javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\
ohair@85 93 javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\
ohair@85 94 javac.source=${javac.source}${line.separator}\
ohair@85 95 javac.debug=${javac.debug}${line.separator}\
ohair@85 96 javac.target=${javac.target}${line.separator}\
ohair@85 97 javac.version.opt=${javac.version.opt}${line.separator}\
ohair@85 98 javac.lint.opts=${javac.lint.opts}${line.separator}\
ohair@85 99 javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\
ohair@85 100 output.dir=${output.dir}${line.separator}\
ohair@85 101 build.dir=${build.dir}${line.separator}\
ohair@85 102 dist.dir=${dist.dir}${line.separator}\
ohair@85 103 drop.dir=${drop.dir}${line.separator}\
andrew@92 104 drops.dir=${drops.dir}${line.separator}\
ohair@85 105 ${line.separator}
ohair@85 106
ohair@124 107 # Failure messages when source cannot be found on the file system
ohair@124 108 failed.nourl.src.message=\
ohair@124 109 ERROR: Cannot find source for project ${ant.project.name}.\
ohair@124 110 ${line.separator}${line.separator}\
ohair@124 111 HINT: Try setting drops.dir to indicate where the bundles can be found, \
ohair@124 112 or try setting the ant property allow.downloads=true to download the bundle from the URL.\
ohair@124 113 ${line.separator}\
ohair@124 114 e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \
ohair@124 115 ${line.separator}
ohair@124 116
ohair@124 117 # Failure message when source cannot be downloaded
ohair@124 118 failed.url.src.message=\
ohair@124 119 ERROR: Cannot find source for project ${ant.project.name}.\
ohair@124 120 ${line.separator}${line.separator}\
ohair@124 121 HINT: Try setting drops.dir to indicate where the bundles can be found, \
ohair@124 122 or try checking the URL with your browser.\
ohair@124 123 ${line.separator}\
ohair@124 124 e.g. ant -Ddrops.dir=some_directory \
ohair@124 125 ${line.separator}
ohair@124 126
ohair@85 127 #------------------------------------------------------------

mercurial