build.properties revision 178
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay Sievers# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
7c66aeba0f28cb82027d6015405ed71afa3b6059Kay Sievers# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c904f64d84db8c4eebedf210ba10893f19ba05edLennart Poettering# This code is free software; you can redistribute it and/or modify it
05677bb78079c3fa0283101aac2c07581f4873f1Lennart Poettering# under the terms of the GNU General Public License version 2 only, as
73090dc815390f4fca4e3ed8a7e1d3806605daaaLennart Poettering# published by the Free Software Foundation. Oracle designates this
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# particular file as subject to the "Classpath" exception as provided
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# by Oracle in the LICENSE file that accompanied this code.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers# This code is distributed in the hope that it will be useful, but WITHOUT
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering# version 2 for more details (a copy is included in the LICENSE file that
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers# accompanied this code).
4ce849853c46b1e857df3c6c9e7752159a58ddf1Lennart Poettering# You should have received a copy of the GNU General Public License version
c3090674833c8bd34fbdb0e743f1c47d85dd14fbLennart Poettering# 2 along with this work; if not, write to the Free Software Foundation,
c3090674833c8bd34fbdb0e743f1c47d85dd14fbLennart Poettering# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
205b7fa46594b38901636b167b02a8725d915b79Lennart Poettering# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
788f75a0e766738c052086e856b7c1b1b676de6bLennart Poettering# or visit www.oracle.com if you need additional information or have any
205b7fa46594b38901636b167b02a8725d915b79Lennart Poettering# Base locations where bundles are located
205b7fa46594b38901636b167b02a8725d915b79Lennart Poetteringslashjava=/java
95b4be171988fc2ea33377b1b4450e5d410add7bLennart Poettering# This is the JDK used to build and run the bootstrap version of javac.
95b4be171988fc2ea33377b1b4450e5d410add7bLennart Poettering# The bootstrap javac is used to compile both boostrap versions of the
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart Poettering# other tools, and product versions of all the tools.
2d0b0528ace89d378051c280bf3be367b2a7d2deLennart Poettering# Override this path as needed, either on the command line or in
499519c6499e92d1953fd79b99a805b9278d5ea1Lennart Poettering# one of the standard user build.properties files (see build.xml)
490b7e47093d491a2bdb1084fe92b796f4e07eefLennart Poettering# The tools.jar is needed in the classpath to compile these sources
5965984d6b9f7751d6281028142ecf3ca475f156Lennart Poettering# options for the <javac> tasks used to compile the tools
e41814846c19a48f4490169d82e359e005c4db45Lennart Poetteringjavac.no.jdk.warnings = -XDignore.symbol.file=true
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering# set the following to -version to verify the versions of javac being used
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart Poettering# in time, there should be no exceptions to -Xlint:all
e9fd44b728ff1fc0d1f24fccb87a767f6865df27Lennart Poettering#javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial
15abdb9a6f34628b04b887e0b9649fa582d6cd37Lennart Poettering# JVM memory size
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering#------------------------------------------------------------
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poettering# Root of output directories
8b04b925e587ff56568c62ff5ad3f2ea2b34ca7aLennart Poettering# Distributed results
e673ad0415d89c322e5b1a121e411f1b1d8075c0Lennart Poetteringdist.classes.jar=${dist.lib.dir}/classes.jar
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers# Where all drop sources get placed when downloaded and unzipped
d2e83c23f5f0cdd3b6ec05c5c40209708721e704Kay Sievers# Location if the sources were included already
f6113d42d015ad9f3a9e702a09eb8006511a4424Kay Sievers# Where patches to drop bundle sources live
7a43e910ce00eef22fd42925ae4c85cbea1b1320Kay Sievers# Sanity information
822e5dd1d6a1e9b549234281dc3a746768e7e13dLennart Poettering ant.version=${ant.version}${line.separator}\
822e5dd1d6a1e9b549234281dc3a746768e7e13dLennart Poettering ant.java.version=${ant.java.version}${line.separator}\
822e5dd1d6a1e9b549234281dc3a746768e7e13dLennart Poettering java.version=${java.version}${line.separator}\
6c1703cc35b3a5f93ad3cc813fea10cb9a636102Kay Sievers bootstrap.dir=${bootstrap.dir}${line.separator}\
08f9588885c5d65694b324846b0ed19211d2c178Lennart Poettering javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\
9ec82de1725ddaab333149171b790d62c47ae133Lennart Poettering javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\
9ec82de1725ddaab333149171b790d62c47ae133Lennart Poettering javac.source=${javac.source}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering javac.debug=${javac.debug}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering javac.target=${javac.target}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering javac.version.opt=${javac.version.opt}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering javac.lint.opts=${javac.lint.opts}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\
e707c49485b8f4f2ec040d3da232d39153e650b9Lennart Poettering output.dir=${output.dir}${line.separator}\
220369cc0c3e167af2eee8bdac95a6157e0e2b62Lennart Poettering# Failure messages when source cannot be found on the file system
220369cc0c3e167af2eee8bdac95a6157e0e2b62Lennart PoetteringERROR: Cannot find source for project ${ant.project.name}.\
f2d433e178df7df01a836e95775261e1d85ec60dZbigniew Jędrzejewski-Szmek${line.separator}${line.separator}\
f2d433e178df7df01a836e95775261e1d85ec60dZbigniew Jędrzejewski-SzmekHINT: Try setting drops.dir to indicate where the bundles can be found, \
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poetteringor try setting the ant property allow.downloads=true to download the bundle from the URL.\
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poetteringe.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poettering# Failure message when source cannot be downloaded
a19554ed92a7460b4e709cc40c558cde827ab85bLennart PoetteringERROR: Cannot find source for project ${ant.project.name}.\
a19554ed92a7460b4e709cc40c558cde827ab85bLennart PoetteringHINT: Try setting drops.dir to indicate where the bundles can be found, \
a19554ed92a7460b4e709cc40c558cde827ab85bLennart Poetteringor try checking the URL with your browser.\
1cb88f2c61f590083847d65cd5a518e834da87d3Lennart Poettering#------------------------------------------------------------