1 #
   2 # Copyright 2007-2009 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 # Base locations where bundles are located
  27 slashjava=/java
  28 devtools=${slashjava}/devtools
  29 
  30 # This is the JDK used to build and run the bootstrap version of javac.
  31 # The bootstrap javac is used to compile both boostrap versions of the
  32 # other tools, and product versions of all the tools.
  33 # Override this path as needed, either on the command line or in 
  34 # one of the standard user build.properties files (see build.xml)
  35 javac.jar=${bootstrap.dir}/lib/javac.jar
  36 
  37 # options for the <javac> tasks used to compile the tools
  38 javac.source = 7
  39 javac.target = 7
  40 javac.debug = true
  41 javac.no.jdk.warnings = -XDignore.symbol.file=true
  42 # set the following to -version to verify the versions of javac being used
  43 javac.version.opt = 
  44 # in time, there should be no exceptions to -Xlint:all
  45 #javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial
  46 javac.lint.opts=
  47 
  48 # JVM memory size
  49 javac.memoryInitialSize = 256m
  50 javac.memoryMaximumSize = 512m
  51 
  52 #------------------------------------------------------------
  53 
  54 # Root of output directories
  55 output.dir=.
  56 
  57 # Built files
  58 build.dir=${output.dir}/build
  59 build.classes.dir=${build.dir}/classes
  60 
  61 # Distributed results
  62 dist.dir=${output.dir}/dist
  63 dist.lib.dir=${dist.dir}/lib
  64 dist.classes.jar=${dist.lib.dir}/classes.jar
  65 dist.src.zip=${dist.lib.dir}/src.zip
  66 
  67 # Where all drop sources live
  68 drop.dir=./drop
  69 
  70 # Where patches to drop bundle sources live
  71 patches.dir=patches
  72 
  73 # Sanity information
  74 sanity.info= Sanity Settings:${line.separator}\
  75   ant.home=${ant.home}${line.separator}\
  76   ant.version=${ant.version}${line.separator}\
  77   ant.java.version=${ant.java.version}${line.separator}\
  78   java.home=${java.home}${line.separator}\
  79   java.version=${java.version}${line.separator}\
  80   os.name=${os.name}${line.separator}\
  81   os.arch=${os.arch}${line.separator}\
  82   os.version=${os.version}${line.separator}\
  83   bootstrap.dir=${bootstrap.dir}${line.separator}\
  84   javac.jar=${javac.jar}${line.separator}\
  85   javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\
  86   javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\
  87   javac.source=${javac.source}${line.separator}\
  88   javac.debug=${javac.debug}${line.separator}\
  89   javac.target=${javac.target}${line.separator}\
  90   javac.version.opt=${javac.version.opt}${line.separator}\
  91   javac.lint.opts=${javac.lint.opts}${line.separator}\
  92   javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\
  93   output.dir=${output.dir}${line.separator}\
  94   build.dir=${build.dir}${line.separator}\
  95   dist.dir=${dist.dir}${line.separator}\
  96   drop.dir=${drop.dir}${line.separator}\
  97 ${line.separator}
  98 
  99 #------------------------------------------------------------