author | ohair |
Tue, 07 Sep 2010 15:51:45 -0700 | |
changeset 6410 | 42a9ca2788e9 |
parent 5836 | 0ca88d5cdd40 |
child 7678 | d08eedd613c1 |
permissions | -rw-r--r-- |
8 | 1 |
# |
5516 | 2 |
# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. |
8 | 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 |
|
5516 | 7 |
# published by the Free Software Foundation. Oracle designates this |
8 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5516 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
8 | 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 |
# |
|
5516 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
8 | 24 |
# |
25 |
||
3885 | 26 |
# Base locations where bundles are located |
27 |
slashjava=/java |
|
4138 | 28 |
drops.dir=${slashjava}/devtools/share/jdk7-drops |
3885 | 29 |
|
8 | 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) |
|
3885 | 35 |
javac.jar=${bootstrap.dir}/lib/javac.jar |
8 | 36 |
|
4298
05940e71b36b
6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents:
4138
diff
changeset
|
37 |
# The tools.jar is needed in the classpath to compile these sources |
05940e71b36b
6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents:
4138
diff
changeset
|
38 |
jdk.home=${java.home}/.. |
05940e71b36b
6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents:
4138
diff
changeset
|
39 |
tools.jar=${jdk.home}/lib/tools.jar |
05940e71b36b
6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents:
4138
diff
changeset
|
40 |
|
8 | 41 |
# options for the <javac> tasks used to compile the tools |
3367
a017b829d8f4
6854244: change source/target used to compile JDK to 7
jjg
parents:
2972
diff
changeset
|
42 |
javac.source = 7 |
a017b829d8f4
6854244: change source/target used to compile JDK to 7
jjg
parents:
2972
diff
changeset
|
43 |
javac.target = 7 |
8 | 44 |
javac.debug = true |
45 |
javac.no.jdk.warnings = -XDignore.symbol.file=true |
|
46 |
# set the following to -version to verify the versions of javac being used |
|
47 |
javac.version.opt = |
|
48 |
# in time, there should be no exceptions to -Xlint:all |
|
3885 | 49 |
#javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial |
50 |
javac.lint.opts= |
|
8 | 51 |
|
52 |
# JVM memory size |
|
3885 | 53 |
javac.memoryInitialSize = 256m |
54 |
javac.memoryMaximumSize = 512m |
|
8 | 55 |
|
56 |
#------------------------------------------------------------ |
|
3885 | 57 |
|
58 |
# Root of output directories |
|
59 |
output.dir=. |
|
60 |
||
61 |
# Built files |
|
62 |
build.dir=${output.dir}/build |
|
63 |
build.classes.dir=${build.dir}/classes |
|
64 |
||
65 |
# Distributed results |
|
66 |
dist.dir=${output.dir}/dist |
|
67 |
dist.lib.dir=${dist.dir}/lib |
|
68 |
dist.classes.jar=${dist.lib.dir}/classes.jar |
|
69 |
dist.src.zip=${dist.lib.dir}/src.zip |
|
70 |
||
4137
a06d987928b2
6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents:
3886
diff
changeset
|
71 |
# Where all drop sources get placed when downloaded and unzipped |
a06d987928b2
6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents:
3886
diff
changeset
|
72 |
drop.expanded.dir=${output.dir}/drop |
a06d987928b2
6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents:
3886
diff
changeset
|
73 |
|
a06d987928b2
6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents:
3886
diff
changeset
|
74 |
# Location if the sources were included already |
a06d987928b2
6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents:
3886
diff
changeset
|
75 |
drop.included.dir=./drop_included |
3885 | 76 |
|
77 |
# Where patches to drop bundle sources live |
|
78 |
patches.dir=patches |
|
79 |
||
80 |
# Sanity information |
|
81 |
sanity.info= Sanity Settings:${line.separator}\ |
|
82 |
ant.home=${ant.home}${line.separator}\ |
|
83 |
ant.version=${ant.version}${line.separator}\ |
|
84 |
ant.java.version=${ant.java.version}${line.separator}\ |
|
85 |
java.home=${java.home}${line.separator}\ |
|
86 |
java.version=${java.version}${line.separator}\ |
|
87 |
os.name=${os.name}${line.separator}\ |
|
88 |
os.arch=${os.arch}${line.separator}\ |
|
89 |
os.version=${os.version}${line.separator}\ |
|
90 |
bootstrap.dir=${bootstrap.dir}${line.separator}\ |
|
91 |
javac.jar=${javac.jar}${line.separator}\ |
|
92 |
javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\ |
|
93 |
javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\ |
|
94 |
javac.source=${javac.source}${line.separator}\ |
|
95 |
javac.debug=${javac.debug}${line.separator}\ |
|
96 |
javac.target=${javac.target}${line.separator}\ |
|
97 |
javac.version.opt=${javac.version.opt}${line.separator}\ |
|
98 |
javac.lint.opts=${javac.lint.opts}${line.separator}\ |
|
99 |
javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\ |
|
100 |
output.dir=${output.dir}${line.separator}\ |
|
101 |
build.dir=${build.dir}${line.separator}\ |
|
102 |
dist.dir=${dist.dir}${line.separator}\ |
|
103 |
drop.dir=${drop.dir}${line.separator}\ |
|
4138 | 104 |
drops.dir=${drops.dir}${line.separator}\ |
3885 | 105 |
${line.separator} |
106 |
||
5836
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
107 |
# Failure messages when source cannot be found on the file system |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
108 |
failed.nourl.src.message=\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
109 |
ERROR: Cannot find source for project ${ant.project.name}.\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
110 |
${line.separator}${line.separator}\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
111 |
HINT: Try setting drops.dir to indicate where the bundles can be found, \ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
112 |
or try setting the ant property allow.downloads=true to download the bundle from the URL.\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
113 |
${line.separator}\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
114 |
e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
115 |
${line.separator} |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
116 |
|
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
117 |
# Failure message when source cannot be downloaded |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
118 |
failed.url.src.message=\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
119 |
ERROR: Cannot find source for project ${ant.project.name}.\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
120 |
${line.separator}${line.separator}\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
121 |
HINT: Try setting drops.dir to indicate where the bundles can be found, \ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
122 |
or try checking the URL with your browser.\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
123 |
${line.separator}\ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
124 |
e.g. ant -Ddrops.dir=some_directory \ |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
125 |
${line.separator} |
0ca88d5cdd40
6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents:
5516
diff
changeset
|
126 |
|
3885 | 127 |
#------------------------------------------------------------ |