Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
02650d53
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
02650d53
编写于
9月 10, 2008
作者:
O
ohair
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6746424: Remove build dependency on findbugs and FINDBUGS_HOME
Reviewed-by: tbell
上级
bc916f79
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
43 deletion
+6
-43
jdk/make/common/Sanity.gmk
jdk/make/common/Sanity.gmk
+1
-2
jdk/make/common/shared/Defs.gmk
jdk/make/common/shared/Defs.gmk
+0
-8
jdk/make/common/shared/Sanity-Settings.gmk
jdk/make/common/shared/Sanity-Settings.gmk
+1
-3
jdk/make/common/shared/Sanity.gmk
jdk/make/common/shared/Sanity.gmk
+0
-22
jdk/make/jprt.config
jdk/make/jprt.config
+4
-8
未找到文件。
jdk/make/common/Sanity.gmk
浏览文件 @
02650d53
#
# Copyright 2001-200
7
Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2001-200
8
Sun Microsystems, Inc. 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
...
...
@@ -70,7 +70,6 @@ sanity-base: pre-sanity \
sane-compiler \
sane-cacerts \
sane-ant_version \
sane-findbugs_version \
sane-zip_version \
sane-msvcrt_path
...
...
jdk/make/common/shared/Defs.gmk
浏览文件 @
02650d53
...
...
@@ -549,14 +549,6 @@ ifeq ($(ANT_HOME),)
else
ANT = $(ANT_HOME)/bin/ant
endif
ifeq ($(FINDBUGS_HOME),)
FINDBUGS_HOME := $(call DirExists,/usr/share/findbugs,$(JDK_DEVTOOLS_DIR)/share/findbugs/latest,)
endif
ifeq ($(FINDBUGS_HOME),)
FINDBUGS = findbugs
else
FINDBUGS = $(FINDBUGS_HOME)/bin/findbugs
endif
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR)
...
...
jdk/make/common/shared/Sanity-Settings.gmk
浏览文件 @
02650d53
#
# Copyright 2005-200
7
Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-200
8
Sun Microsystems, Inc. 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
...
...
@@ -79,7 +79,6 @@ ALL_SETTINGS+=$(call addAltSetting,SLASH_JAVA)
ALL_SETTINGS+=$(call addRequiredSetting,VARIANT)
ALL_SETTINGS+=$(call addAltSetting,JDK_DEVTOOLS_DIR)
ALL_SETTINGS+=$(call addOptionalSetting,ANT_HOME)
ALL_SETTINGS+=$(call addOptionalSetting,FINDBUGS_HOME)
ALL_SETTINGS+=$(call addAltSetting,UNIXCOMMAND_PATH)
ALL_SETTINGS+=$(call addAltSetting,COMPILER_PATH)
ALL_SETTINGS+=$(call addAltSetting,DEVTOOLS_PATH)
...
...
@@ -119,7 +118,6 @@ ifeq ($(PLATFORM),windows)
ALL_SETTINGS+=$(call addRequiredVersionSetting,LINK_VER)
endif
ALL_SETTINGS+=$(call addRequiredVersionSetting,ANT_VER)
ALL_SETTINGS+=$(call addRequiredVersionSetting,FINDBUGS_VER)
ALL_SETTINGS+=$(call addRequiredSetting,TEMPDIR)
...
...
jdk/make/common/shared/Sanity.gmk
浏览文件 @
02650d53
...
...
@@ -114,14 +114,6 @@ else
endif
ANT_VER:=$(call GetVersion,"$(_ANT_VER)")
REQUIRED_FINDBUGS_VER := 1.2
ifeq ($(FINDBUGS_HOME),)
_FINDBUGS_VER:=$(shell $(FINDBUGS) -javahome "$(BOOTDIR)" -textui -version 2>&1 )
else
_FINDBUGS_VER:=$(shell FINDBUGS_HOME="$(FINDBUGS_HOME)" $(FINDBUGS) -javahome "$(BOOTDIR)" -textui -version 2>&1 )
endif
FINDBUGS_VER:=$(call GetVersion,"$(_FINDBUGS_VER)")
ifdef ALT_BINDIR
ALT_BINDIR_VERSION := $(shell $(ALT_BINDIR)/java$(EXE_SUFFIX) -version 2>&1 | $(NAWK) -F'"' '{ print $$2 }')
ALT_BINDIR_OK := $(shell $(ECHO) $(ALT_BINDIR_VERSION) | $(EGREP) -c '^$(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION)')
...
...
@@ -182,7 +174,6 @@ include $(JDK_MAKE_SHARED_DIR)/Sanity-Settings.gmk
sane-alsa-versioncheck \
sane-alsa-headers \
sane-ant_version \
sane-findbugs_version \
sane-zip_version \
sane-unzip_version \
sane-msvcrt_path \
...
...
@@ -1216,19 +1207,6 @@ sane-ant_version:
"" >> $(WARNING_FILE) ; \
fi
######################################################
# Check the findbugs version
######################################################
FINDBUGS_CHECK :=$(call CheckVersions,$(FINDBUGS_VER),$(REQUIRED_FINDBUGS_VER))
sane-findbugs_version:
@if [ "$(FINDBUGS_CHECK)" != "same" \
-a "$(FINDBUGS_CHECK)" != "newer" ]; then \
$(ECHO) "WARNING: The version of findbugs being used is older than \n" \
" the required version of '$(REQUIRED_FINDBUGS_VER)'. \n" \
" The version of findbugs found was '$(FINDBUGS_VER)'. \n" \
"" >> $(WARNING_FILE) ; \
fi
######################################################
# Check the zip file version
######################################################
...
...
jdk/make/jprt.config
浏览文件 @
02650d53
...
...
@@ -100,20 +100,16 @@ share="${jdk_devtools}/share"
# Needed for langtools, maybe other parts of the build
ANT_HOME
=
"${share}/ant/latest"
export
ANT_HOME
FINDBUGS_HOME
=
"${share}/findbugs/latest"
export
FINDBUGS_HOME
# The 3 bin directories in common to all platforms
sharebin
=
"${share}/bin"
antbin
=
"${ANT_HOME}/bin"
findbugsbin
=
"${FINDBUGS_HOME}/bin"
# Check input
dirMustExist
"${bootdir}"
ALT_BOOTDIR
dirMustExist
"${slashjava}"
ALT_SLASH_JAVA
dirMustExist
"${jdk_import}"
ALT_JDK_IMPORT_PATH
dirMustExist
"${ANT_HOME}"
ANT_HOME
dirMustExist
"${FINDBUGS_HOME}"
FINDBUGS_HOME
# Use the JDK import for now (FIXME: use the binary plugs?)
if
[
"${OPENJDK}"
=
true
] ;
then
...
...
@@ -143,7 +139,7 @@ if [ "${osname}" = SunOS ] ; then
ALT_COMPILER_PATH
=
"${compiler_path}"
export
ALT_COMPILER_PATH
dirMustExist
"${compiler_path}"
ALT_COMPILER_PATH
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
:${
findbugsbin
}
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
# Add basic solaris system paths
path4sdk
=${
path4sdk
}:/
usr
/
ccs
/
bin
:/
usr
/
ccs
/
lib
:/
usr
/
bin
:/
bin
:/
usr
/
sfw
/
bin
...
...
@@ -180,7 +176,7 @@ elif [ "${osname}" = Linux ] ; then
ALT_COMPILER_PATH
=
"${compiler_path}"
export
ALT_COMPILER_PATH
dirMustExist
"${compiler_path}"
ALT_COMPILER_PATH
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
:${
findbugsbin
}
path4sdk
=${
compiler_path
}:${
sharebin
}:${
antbin
}
# Add basic paths
path4sdk
=${
path4sdk
}:/
usr
/
bin
:/
bin
:/
usr
/
sbin
:/
sbin
...
...
@@ -228,7 +224,7 @@ else
dosname
=
"${mkshome}/mksnt/dosname -s"
# Most unix utilities are in the mksnt directory of ROOTDIR
unixcommand_path
=
"${mkshome}/mksnt"
path4sdk
=
"${sharebin};${antbin};${
findbugsbin};${
unixcommand_path}"
path4sdk
=
"${sharebin};${antbin};${unixcommand_path}"
dirMustExist
"${unixcommand_path}"
ALT_UNIXCOMMAND_PATH
devtools_path
=
"${jdk_devtools}/win32/bin"
path4sdk
=
"${devtools_path};${path4sdk}"
...
...
@@ -246,7 +242,7 @@ else
dosname
=
"/usr/bin/cygpath -a -m -s"
# Most unix utilities are in the /usr/bin
unixcommand_path
=
"/usr/bin"
path4sdk
=
"${sharebin};${antbin};${
findbugsbin};${
unixcommand_path}"
path4sdk
=
"${sharebin};${antbin};${unixcommand_path}"
dirMustExist
"${unixcommand_path}"
ALT_UNIXCOMMAND_PATH
# Find GNU make
make
=
"${unixcommand_path}/make.exe"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录