Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
05e851f4
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
05e851f4
编写于
1月 02, 2013
作者:
C
cgruszka
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
0db9ac7f
39649b2b
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
1394 addition
and
785 deletion
+1394
-785
.hgtags
.hgtags
+2
-0
common/autoconf/basics.m4
common/autoconf/basics.m4
+27
-16
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+1140
-758
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+19
-5
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+2
-1
common/autoconf/toolchain.m4
common/autoconf/toolchain.m4
+4
-1
common/bin/hgforest.sh
common/bin/hgforest.sh
+194
-0
common/makefiles/RMICompilation.gmk
common/makefiles/RMICompilation.gmk
+1
-1
common/makefiles/javadoc/CORE_PKGS.gmk
common/makefiles/javadoc/CORE_PKGS.gmk
+1
-0
common/makefiles/javadoc/NON_CORE_PKGS.gmk
common/makefiles/javadoc/NON_CORE_PKGS.gmk
+2
-1
get_source.sh
get_source.sh
+2
-2
未找到文件。
.hgtags
浏览文件 @
05e851f4
...
@@ -190,3 +190,5 @@ b772de306dc24c17f7bd1398531ddeb58723b804 jdk8-b65
...
@@ -190,3 +190,5 @@ b772de306dc24c17f7bd1398531ddeb58723b804 jdk8-b65
13bb8c326e7b7b0b19d78c8088033e3932e3f7ca jdk8-b66
13bb8c326e7b7b0b19d78c8088033e3932e3f7ca jdk8-b66
9a6ec97ec45c1a62d5233cefa91e8390e380e13a jdk8-b67
9a6ec97ec45c1a62d5233cefa91e8390e380e13a jdk8-b67
cdb401a60cea6ad5ef3f498725ed1decf8dda1ea jdk8-b68
cdb401a60cea6ad5ef3f498725ed1decf8dda1ea jdk8-b68
6ee8080a6efe0639fcd00627a5e0f839bf010481 jdk8-b69
105a25ffa4a4f0af70188d4371b4a0385009b7ce jdk8-b70
common/autoconf/basics.m4
浏览文件 @
05e851f4
...
@@ -90,13 +90,25 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
...
@@ -90,13 +90,25 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
tmp="$complete EOL"
tmp="$complete EOL"
arguments="${tmp#* }"
arguments="${tmp#* }"
new_path=`$WHICH $path 2> /dev/null`
# Cannot rely on the command "which" here since it doesn't always work.
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test -z "$is_absolute_path"; then
# Path to executable is not absolute. Find it.
IFS_save="$IFS"
IFS=:
for p in $PATH; do
if test -f "$p/$path" && test -x "$p/$path"; then
new_path="$p/$path"
break
fi
done
IFS="$IFS_save"
else
AC_MSG_NOTICE([Resolving $1 (as $path) failed, using $path directly.])
new_path="$path"
fi
if test "x$new_path" = x; then
if test "x$new_path" = x; then
is_absolute_path=`$ECHO "$path" | $GREP ^/`
if test "x$is_absolute_path" != x; then
AC_MSG_NOTICE([Resolving $1 (as $path) with 'which' failed, using $path directly.])
new_path="$path"
else
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
if test "x$has_space" != x; then
...
@@ -104,20 +116,19 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
...
@@ -104,20 +116,19 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
fi
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
fi
fi
fi
fi
# Now join together the path and the arguments once again
# Now join together the path and the arguments once again
if test "x$arguments" != xEOL; then
if test "x$arguments" != xEOL; then
new_complete="$new_path ${arguments% *}"
new_complete="$new_path ${arguments% *}"
else
else
new_complete="$new_path"
new_complete="$new_path"
fi
fi
if test "x$complete" != "x$new_complete"; then
if test "x$complete" != "x$new_complete"; then
$1="$new_complete"
$1="$new_complete"
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
AC_MSG_NOTICE([Rewriting $1 to "$new_complete"])
fi
fi
])
])
AC_DEFUN([BASIC_REMOVE_SYMBOLIC_LINKS],
AC_DEFUN([BASIC_REMOVE_SYMBOLIC_LINKS],
...
...
common/autoconf/generated-configure.sh
浏览文件 @
05e851f4
此差异已折叠。
点击以展开。
common/autoconf/jdk-options.m4
浏览文件 @
05e851f4
...
@@ -60,28 +60,30 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
...
@@ -60,28 +60,30 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
# Currently we have:
# Currently we have:
# server: normal interpreter and a tiered C1/C2 compiler
# server: normal interpreter and a tiered C1/C2 compiler
# client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
# client: normal interpreter and C1 (no C2 compiler) (only 32-bit platforms)
# minimal1: reduced form of client with optional VM services and features stripped out
# kernel: kernel footprint JVM that passes the TCK without major performance problems,
# kernel: kernel footprint JVM that passes the TCK without major performance problems,
# ie normal interpreter and C1, only the serial GC, kernel jvmti etc
# ie normal interpreter and C1, only the serial GC, kernel jvmti etc
# zero: no machine code interpreter, no compiler
# zero: no machine code interpreter, no compiler
# zeroshark: zero interpreter and shark/llvm compiler backend
# zeroshark: zero interpreter and shark/llvm compiler backend
AC_MSG_CHECKING([which variants of the JVM to build])
AC_MSG_CHECKING([which variants of the JVM to build])
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
AC_ARG_WITH([jvm-variants], [AS_HELP_STRING([--with-jvm-variants],
[JVM variants (separated by commas) to build (server, client, kernel, zero, zeroshark) @<:@server@:>@])])
[JVM variants (separated by commas) to build (server, client,
minimal1,
kernel, zero, zeroshark) @<:@server@:>@])])
if test "x$with_jvm_variants" = x; then
if test "x$with_jvm_variants" = x; then
with_jvm_variants="server"
with_jvm_variants="server"
fi
fi
JVM_VARIANTS=",$with_jvm_variants,"
JVM_VARIANTS=",$with_jvm_variants,"
TEST_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,//' -e 's/client,//' -e 's/kernel,//' -e 's/zero,//' -e 's/zeroshark,//'`
TEST_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,//' -e 's/client,//'
-e 's/minimal1,//'
-e 's/kernel,//' -e 's/zero,//' -e 's/zeroshark,//'`
if test "x$TEST_VARIANTS" != "x,"; then
if test "x$TEST_VARIANTS" != "x,"; then
AC_MSG_ERROR([The available JVM variants are: server, client, kernel, zero, zeroshark])
AC_MSG_ERROR([The available JVM variants are: server, client,
minimal1,
kernel, zero, zeroshark])
fi
fi
AC_MSG_RESULT([$with_jvm_variants])
AC_MSG_RESULT([$with_jvm_variants])
JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
JVM_VARIANT_MINIMAL1=`$ECHO "$JVM_VARIANTS" | $SED -e '/,minimal1,/!s/.*/false/g' -e '/,minimal1,/s/.*/true/g'`
JVM_VARIANT_KERNEL=`$ECHO "$JVM_VARIANTS" | $SED -e '/,kernel,/!s/.*/false/g' -e '/,kernel,/s/.*/true/g'`
JVM_VARIANT_KERNEL=`$ECHO "$JVM_VARIANTS" | $SED -e '/,kernel,/!s/.*/false/g' -e '/,kernel,/s/.*/true/g'`
JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
...
@@ -96,10 +98,15 @@ if test "x$JVM_VARIANT_KERNEL" = xtrue; then
...
@@ -96,10 +98,15 @@ if test "x$JVM_VARIANT_KERNEL" = xtrue; then
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
fi
fi
fi
fi
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
AC_MSG_ERROR([You cannot build a minimal JVM for a 64-bit machine.])
fi
fi
# Replace the commas with AND for use in the build directory name.
# Replace the commas with AND for use in the build directory name.
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/'`
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/
minimal1,/1/' -e 's/
kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/'`
if test "x$COUNT_VARIANTS" != "x,1"; then
if test "x$COUNT_VARIANTS" != "x,1"; then
BUILDING_MULTIPLE_JVM_VARIANTS=yes
BUILDING_MULTIPLE_JVM_VARIANTS=yes
else
else
...
@@ -109,6 +116,7 @@ fi
...
@@ -109,6 +116,7 @@ fi
AC_SUBST(JVM_VARIANTS)
AC_SUBST(JVM_VARIANTS)
AC_SUBST(JVM_VARIANT_SERVER)
AC_SUBST(JVM_VARIANT_SERVER)
AC_SUBST(JVM_VARIANT_CLIENT)
AC_SUBST(JVM_VARIANT_CLIENT)
AC_SUBST(JVM_VARIANT_MINIMAL1)
AC_SUBST(JVM_VARIANT_KERNEL)
AC_SUBST(JVM_VARIANT_KERNEL)
AC_SUBST(JVM_VARIANT_ZERO)
AC_SUBST(JVM_VARIANT_ZERO)
AC_SUBST(JVM_VARIANT_ZEROSHARK)
AC_SUBST(JVM_VARIANT_ZEROSHARK)
...
@@ -191,7 +199,9 @@ esac
...
@@ -191,7 +199,9 @@ esac
#####
#####
# Generate the legacy makefile targets for hotspot.
# Generate the legacy makefile targets for hotspot.
# The hotspot api for selecting the build artifacts, really, needs to be improved.
# The hotspot api for selecting the build artifacts, really, needs to be improved.
#
# JDK-7195896 will fix this on the hotspot side by using the JVM_VARIANT_* variables to
# determine what needs to be built. All we will need to set here is all_product, all_fastdebug etc
# But until then ...
HOTSPOT_TARGET=""
HOTSPOT_TARGET=""
if test "x$JVM_VARIANT_SERVER" = xtrue; then
if test "x$JVM_VARIANT_SERVER" = xtrue; then
...
@@ -202,6 +212,10 @@ if test "x$JVM_VARIANT_CLIENT" = xtrue; then
...
@@ -202,6 +212,10 @@ if test "x$JVM_VARIANT_CLIENT" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}1 "
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}1 "
fi
fi
if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}minimal1 "
fi
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}kernel "
HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}kernel "
fi
fi
...
...
common/autoconf/spec.gmk.in
浏览文件 @
05e851f4
...
@@ -185,11 +185,12 @@ SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
...
@@ -185,11 +185,12 @@ SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
# These are the libjvms that we want to build.
# These are the libjvms that we want to build.
# The java launcher uses the default.
# The java launcher uses the default.
# The other
can be selected by specifying -client -server
-kernel -zero or -zeroshark
# The other
s can be selected by specifying -client -server -minimal1
-kernel -zero or -zeroshark
# on the java launcher command line.
# on the java launcher command line.
JVM_VARIANTS:=@JVM_VARIANTS@
JVM_VARIANTS:=@JVM_VARIANTS@
JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@
JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@
JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@
JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@
JVM_VARIANT_MINIMAL1:=@JVM_VARIANT_MINIMAL1@
JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@
JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@
JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@
JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@
JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@
JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@
...
...
common/autoconf/toolchain.m4
浏览文件 @
05e851f4
...
@@ -954,11 +954,14 @@ else
...
@@ -954,11 +954,14 @@ else
# On some platforms (mac) the linker warns about non existing -L dirs.
# On some platforms (mac) the linker warns about non existing -L dirs.
# Add server first if available. Linking aginst client does not always produce the same results.
# Add server first if available. Linking aginst client does not always produce the same results.
# Only add client dir if client is being built. Default to server for other variants.
# Only add client dir if client is being built. Add minimal (note not minimal1) if only building minimal1.
# Default to server for other variants.
if test "x$JVM_VARIANT_SERVER" = xtrue; then
if test "x$JVM_VARIANT_SERVER" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
elif test "x$JVM_VARIANT_CLIENT" = xtrue; then
elif test "x$JVM_VARIANT_CLIENT" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/client"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/client"
elif test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/minimal"
else
else
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
LDFLAGS_JDKLIB="${LDFLAGS_JDKLIB} -L${JDK_OUTPUTDIR}/lib${OPENJDK_TARGET_CPU_LIBDIR}/server"
fi
fi
...
...
common/bin/hgforest.sh
0 → 100644
浏览文件 @
05e851f4
#!/bin/sh
#
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Shell script for a fast parallel forest command
command
=
"
$1
"
pull_extra_base
=
"
$2
"
# Python always buffers stdout significantly, thus we will not see any output from hg clone jdk,
# until a lot of time has passed! By passing -u to python, we get incremental updates
# on stdout. Much nicer.
whichhg
=
"
`
which hg
`
"
if
[
"
${
whichhg
}
"
=
""
]
;
then
echo
Cannot find hg!
exit
1
fi
if
[
""
=
"
$command
"
]
;
then
echo
No
command
to hg supplied!
exit
1
fi
has_hash_bang
=
"
`
head
-n
1
"
${
whichhg
}
"
|
cut
-b
1-2
`
"
python
=
""
bpython
=
""
if
[
"#!"
=
"
$has_hash_bang
"
]
;
then
python
=
"
`
head
-n
1
${
whichhg
}
|
cut
-b
3-
`
"
bpython
=
"
`
basename
"
$python
"
`
"
fi
if
[
"python"
=
"
$bpython
"
-a
-x
"
$python
"
]
;
then
hg
=
"
${
python
}
-u
${
whichhg
}
"
else
echo
Cannot find python from hg launcher. Running plain hg, which probably has buffered stdout.
hg
=
"hg"
fi
# Clean out the temporary directory that stores the pid files.
tmp
=
/tmp/forest.
$$
rm
-f
-r
${
tmp
}
mkdir
-p
${
tmp
}
safe_interrupt
()
{
if
[
-d
${
tmp
}
]
;
then
if
[
"
`
ls
${
tmp
}
`
"
!=
""
]
;
then
echo
"Waiting for processes (
`
cat
${
tmp
}
/
*
|
tr
'\n'
' '
`
) to terminate nicely!"
sleep
1
# Pipe stderr to dev/null to silence kill, that complains when trying to kill
# a subprocess that has already exited.
kill
-TERM
`
cat
${
tmp
}
/
*
|
tr
'\n'
' '
`
2> /dev/null
wait
echo
Interrupt
complete
!
fi
fi
rm
-f
-r
${
tmp
}
exit
1
}
nice_exit
()
{
if
[
-d
${
tmp
}
]
;
then
if
[
"
`
ls
${
tmp
}
`
"
!=
""
]
;
then
wait
fi
fi
rm
-f
-r
${
tmp
}
}
trap
'safe_interrupt'
INT QUIT
trap
'nice_exit'
EXIT
# Only look in specific locations for possible forests (avoids long searches)
pull_default
=
""
repos
=
""
repos_extra
=
""
if
[
"
${
command
}
"
=
"clone"
-o
"
${
command
}
"
=
"fclone"
]
;
then
subrepos
=
"corba jaxp jaxws langtools jdk hotspot"
if
[
-f
.hg/hgrc
]
;
then
pull_default
=
`
hg paths default
`
if
[
"
${
pull_default
}
"
=
""
]
;
then
echo
"ERROR: Need initial clone with 'hg paths default' defined"
exit
1
fi
fi
if
[
"
${
pull_default
}
"
=
""
]
;
then
echo
"ERROR: Need initial repository to use this script"
exit
1
fi
for
i
in
${
subrepos
}
;
do
if
[
!
-f
${
i
}
/.hg/hgrc
]
;
then
repos
=
"
${
repos
}
${
i
}
"
fi
done
if
[
"
${
pull_extra_base
}
"
!=
""
]
;
then
subrepos_extra
=
"jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs"
pull_default_tail
=
`
echo
${
pull_default
}
|
sed
-e
's@^.*://[^/]*/\(.*\)@\1@'
`
pull_extra
=
"
${
pull_extra_base
}
/
${
pull_default_tail
}
"
for
i
in
${
subrepos_extra
}
;
do
if
[
!
-f
${
i
}
/.hg/hgrc
]
;
then
repos_extra
=
"
${
repos_extra
}
${
i
}
"
fi
done
fi
at_a_time
=
2
# Any repos to deal with?
if
[
"
${
repos
}
"
=
""
-a
"
${
repos_extra
}
"
=
""
]
;
then
exit
fi
else
hgdirs
=
`
ls
-d
./.hg ./
*
/.hg ./
*
/
*
/.hg ./
*
/
*
/
*
/.hg ./
*
/
*
/
*
/
*
/.hg 2>/dev/null
`
# Derive repository names from the .hg directory locations
for
i
in
${
hgdirs
}
;
do
repos
=
"
${
repos
}
`
echo
${
i
}
|
sed
-e
's@/.hg$@@'
`
"
done
for
i
in
${
repos
}
;
do
if
[
-h
${
i
}
/.hg/store/lock
-o
-f
${
i
}
/.hg/store/lock
]
;
then
locked
=
"
${
i
}
${
locked
}
"
fi
done
at_a_time
=
8
# Any repos to deal with?
if
[
"
${
repos
}
"
=
""
]
;
then
echo
"No repositories to process."
exit
fi
if
[
"
${
locked
}
"
!=
""
]
;
then
echo
"These repositories are locked:
${
locked
}
"
exit
fi
fi
# Echo out what repositories we do a command on.
echo
"# Repositories:
${
repos
}
${
repos_extra
}
"
echo
# Run the supplied command on all repos in parallel.
n
=
0
for
i
in
${
repos
}
${
repos_extra
}
;
do
n
=
`
expr
${
n
}
'+'
1
`
repopidfile
=
`
echo
${
i
}
|
sed
-e
's@./@@'
-e
's@/@_@g'
`
reponame
=
`
echo
${
i
}
|
sed
-e
:a
-e
's/^.\{1,20\}$/ &/;ta'
`
pull_base
=
"
${
pull_default
}
"
for
j
in
$repos_extra
;
do
if
[
"
$i
"
=
"
$j
"
]
;
then
pull_base
=
"
${
pull_extra
}
"
fi
done
(
(
if
[
"
${
command
}
"
=
"clone"
-o
"
${
command
}
"
=
"fclone"
]
;
then
pull_newrepo
=
"
`
echo
${
pull_base
}
/
${
i
}
|
sed
-e
's@\([^:]/\)//*@\1@g'
`
"
echo
${
hg
}
clone
${
pull_newrepo
}
${
i
}
${
hg
}
clone
${
pull_newrepo
}
${
i
}
&
else
echo
"cd
${
i
}
&&
${
hg
}
$*
"
cd
${
i
}
&&
${
hg
}
"
$@
"
&
fi
echo
$!
>
${
tmp
}
/
${
repopidfile
}
.pid
)
2>&1 |
sed
-e
"s@^@
${
reponame
}
: @"
)
&
if
[
`
expr
${
n
}
'%'
${
at_a_time
}
`
-eq
0
]
;
then
sleep
2
echo
Waiting 5 secs before spawning next background command.
sleep
3
fi
done
# Wait for all hg commands to complete
wait
# Terminate with exit 0 all the time (hard to know when to say "failed")
exit
0
common/makefiles/RMICompilation.gmk
浏览文件 @
05e851f4
#
#
# Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2012
,
Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
...
common/makefiles/javadoc/CORE_PKGS.gmk
浏览文件 @
05e851f4
...
@@ -131,6 +131,7 @@ CORE_PKGS = \
...
@@ -131,6 +131,7 @@ CORE_PKGS = \
java.util.concurrent \
java.util.concurrent \
java.util.concurrent.atomic \
java.util.concurrent.atomic \
java.util.concurrent.locks \
java.util.concurrent.locks \
java.util.function \
java.util.jar \
java.util.jar \
java.util.logging \
java.util.logging \
java.util.prefs \
java.util.prefs \
...
...
common/makefiles/javadoc/NON_CORE_PKGS.gmk
浏览文件 @
05e851f4
...
@@ -78,7 +78,8 @@ ATTACH_PKGS = com.sun.tools.attach \
...
@@ -78,7 +78,8 @@ ATTACH_PKGS = com.sun.tools.attach \
JCONSOLE_PKGS = com.sun.tools.jconsole
JCONSOLE_PKGS = com.sun.tools.jconsole
TREEAPI_PKGS = com.sun.source.tree \
TREEAPI_PKGS = com.sun.source.doctree \
com.sun.source.tree \
com.sun.source.util
com.sun.source.util
SMARTCARDIO_PKGS = javax.smartcardio
SMARTCARDIO_PKGS = javax.smartcardio
...
...
get_source.sh
浏览文件 @
05e851f4
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
#
#
# Get clones of all nested repositories
# Get clones of all nested repositories
sh ./
make/scripts/hgforest.sh clone
$*
sh ./
common/bin/hgforest.sh clone
"
$@
"
# Update all existing repositories to the latest sources
# Update all existing repositories to the latest sources
sh ./
make/scripts
/hgforest.sh pull
-u
sh ./
common/bin
/hgforest.sh pull
-u
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录