jaxp/build.properties
author dcubed
Fri, 18 Mar 2011 07:17:24 -0700
changeset 8804 2d69a944f4da
parent 7675 b715439429dd
child 11069 81a28c8d731a
permissions -rw-r--r--
7028668: 3/4 improve diagnosibility and robustness of sun.tools.attach.WindowsVirtualMachine.openProcess() Summary: Add more info to OpenProcess default detail error message. Try a different technique when a Java process is attaching to itself. Reviewed-by: zgu, ohair, alanb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
#
7675
b715439429dd 6962318: Update copyright year
ohair
parents: 5830
diff changeset
     2
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
#
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    10
#
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
#
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
#
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    23
# questions.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
#
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    26
# Base locations where bundles are located
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    27
slashjava=/java
4133
c1b87ddcc40a 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
andrew
parents: 4131
diff changeset
    28
drops.dir=${slashjava}/devtools/share/jdk7-drops
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    29
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
# This is the JDK used to build and run the bootstrap version of javac.
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
# The bootstrap javac is used to compile both boostrap versions of the
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
# other tools, and product versions of all the tools.
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
# Override this path as needed, either on the command line or in 
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
# one of the standard user build.properties files (see build.xml)
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    35
javac.jar=${bootstrap.dir}/lib/javac.jar
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
4294
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4133
diff changeset
    37
# The tools.jar is needed in the classpath to compile these sources
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4133
diff changeset
    38
jdk.home=${java.home}/..
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4133
diff changeset
    39
tools.jar=${jdk.home}/lib/tools.jar
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4133
diff changeset
    40
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
# options for the <javac> tasks used to compile the tools
3362
a2c23b6ed04b 6854244: change source/target used to compile JDK to 7
jjg
parents: 2967
diff changeset
    42
javac.source = 7
a2c23b6ed04b 6854244: change source/target used to compile JDK to 7
jjg
parents: 2967
diff changeset
    43
javac.target = 7
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
javac.debug = true
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
javac.no.jdk.warnings = -XDignore.symbol.file=true
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
# set the following to -version to verify the versions of javac being used
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
javac.version.opt = 
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
# in time, there should be no exceptions to -Xlint:all
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    49
#javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    50
javac.lint.opts=
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
# JVM memory size
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    53
javac.memoryInitialSize = 256m
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    54
javac.memoryMaximumSize = 512m
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
#------------------------------------------------------------
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    57
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    58
# Root of output directories
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    59
output.dir=.
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    60
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    61
# Built files
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    62
build.dir=${output.dir}/build
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    63
build.classes.dir=${build.dir}/classes
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    64
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    65
# Distributed results
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    66
dist.dir=${output.dir}/dist
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    67
dist.lib.dir=${dist.dir}/lib
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    68
dist.classes.jar=${dist.lib.dir}/classes.jar
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    69
dist.src.zip=${dist.lib.dir}/src.zip
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    70
4131
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3880
diff changeset
    71
# Where all drop sources get placed when downloaded and unzipped
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3880
diff changeset
    72
drop.expanded.dir=${output.dir}/drop
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3880
diff changeset
    73
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3880
diff changeset
    74
# Location if the sources were included already
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3880
diff changeset
    75
drop.included.dir=./drop_included
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    76
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    77
# Where patches to drop bundle sources live
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    78
patches.dir=patches
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    79
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    80
# Sanity information
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    81
sanity.info= Sanity Settings:${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    82
  ant.home=${ant.home}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    83
  ant.version=${ant.version}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    84
  ant.java.version=${ant.java.version}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    85
  java.home=${java.home}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    86
  java.version=${java.version}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    87
  os.name=${os.name}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    88
  os.arch=${os.arch}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    89
  os.version=${os.version}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    90
  bootstrap.dir=${bootstrap.dir}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    91
  javac.jar=${javac.jar}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    92
  javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    93
  javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    94
  javac.source=${javac.source}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    95
  javac.debug=${javac.debug}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    96
  javac.target=${javac.target}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    97
  javac.version.opt=${javac.version.opt}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    98
  javac.lint.opts=${javac.lint.opts}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
    99
  javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   100
  output.dir=${output.dir}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   101
  build.dir=${build.dir}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   102
  dist.dir=${dist.dir}${line.separator}\
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   103
  drop.dir=${drop.dir}${line.separator}\
4133
c1b87ddcc40a 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
andrew
parents: 4131
diff changeset
   104
  drops.dir=${drops.dir}${line.separator}\
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   105
${line.separator}
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   106
5830
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   107
# Failure messages when source cannot be found on the file system
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   108
failed.nourl.src.message=\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   109
ERROR: Cannot find source for project ${ant.project.name}.\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   110
${line.separator}${line.separator}\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   111
HINT: Try setting drops.dir to indicate where the bundles can be found, \
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   112
or try setting the ant property allow.downloads=true to download the bundle from the URL.\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   113
${line.separator}\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   114
e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   115
${line.separator}
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   116
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   117
# Failure message when source cannot be downloaded
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   118
failed.url.src.message=\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   119
ERROR: Cannot find source for project ${ant.project.name}.\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   120
${line.separator}${line.separator}\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   121
HINT: Try setting drops.dir to indicate where the bundles can be found, \
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   122
or try checking the URL with your browser.\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   123
${line.separator}\
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   124
e.g. ant -Ddrops.dir=some_directory \
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   125
${line.separator}
3adf4782de94 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5512
diff changeset
   126
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3364
diff changeset
   127
#------------------------------------------------------------