提交 78ac9fd9 编写于 作者: O ohair

6746424: Remove build dependency on findbugs and FINDBUGS_HOME

Reviewed-by: tbell
上级 91be455a
...@@ -257,8 +257,3 @@ ifdef ANT_HOME ...@@ -257,8 +257,3 @@ ifdef ANT_HOME
COMMON_BUILD_ARGUMENTS += ANT_HOME="$(ANT_HOME)" COMMON_BUILD_ARGUMENTS += ANT_HOME="$(ANT_HOME)"
endif endif
ifdef FINDBUGS_HOME
COMMON_BUILD_ARGUMENTS += FINDBUGS_HOME="$(FINDBUGS_HOME)"
endif
...@@ -20,7 +20,6 @@ The make/makefile rules are: ...@@ -20,7 +20,6 @@ The make/makefile rules are:
VARIANT If DBG, debug build, if OPT, optimized build VARIANT If DBG, debug build, if OPT, optimized build
TARGET_CLASS_VERSION The classfile version number (currently 5) TARGET_CLASS_VERSION The classfile version number (currently 5)
ANT_HOME Home of ant to use, if provided ANT_HOME Home of ant to use, if provided
FINDBUGS_HOME Home of findbugs to use, if provided
QUIET If defined, be quiet QUIET If defined, be quiet
VERBOSE If defined, be verbose VERBOSE If defined, be verbose
JDK_VERSION Version being built JDK_VERSION Version being built
......
#!echo "This is not a shell script" #!echo "This is not a shell script"
############################################################################# #############################################################################
# #
# Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved. # Copyright 2006-2008 Sun Microsystems, Inc. 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
...@@ -100,20 +100,16 @@ share="${jdk_devtools}/share" ...@@ -100,20 +100,16 @@ share="${jdk_devtools}/share"
# Needed for langtools, maybe other parts of the build # Needed for langtools, maybe other parts of the build
ANT_HOME="${share}/ant/latest" ANT_HOME="${share}/ant/latest"
export ANT_HOME export ANT_HOME
FINDBUGS_HOME="${share}/findbugs/latest"
export FINDBUGS_HOME
# The 3 bin directories in common to all platforms # The 3 bin directories in common to all platforms
sharebin="${share}/bin" sharebin="${share}/bin"
antbin="${ANT_HOME}/bin" antbin="${ANT_HOME}/bin"
findbugsbin="${FINDBUGS_HOME}/bin"
# Check input # Check input
dirMustExist "${bootdir}" ALT_BOOTDIR dirMustExist "${bootdir}" ALT_BOOTDIR
dirMustExist "${slashjava}" ALT_SLASH_JAVA dirMustExist "${slashjava}" ALT_SLASH_JAVA
dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH
dirMustExist "${ANT_HOME}" ANT_HOME dirMustExist "${ANT_HOME}" ANT_HOME
dirMustExist "${FINDBUGS_HOME}" FINDBUGS_HOME
# If ALT_PREVIOUS_RELEASE_IMAGE not defined, set it to the bootdir area for # If ALT_PREVIOUS_RELEASE_IMAGE not defined, set it to the bootdir area for
# any possible image comparisons. # any possible image comparisons.
...@@ -152,7 +148,7 @@ if [ "${osname}" = SunOS ] ; then ...@@ -152,7 +148,7 @@ if [ "${osname}" = SunOS ] ; then
ALT_COMPILER_PATH="${compiler_path}" ALT_COMPILER_PATH="${compiler_path}"
export ALT_COMPILER_PATH export ALT_COMPILER_PATH
dirMustExist "${compiler_path}" 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 # Add basic solaris system paths
path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin
...@@ -189,7 +185,7 @@ elif [ "${osname}" = Linux ] ; then ...@@ -189,7 +185,7 @@ elif [ "${osname}" = Linux ] ; then
ALT_COMPILER_PATH="${compiler_path}" ALT_COMPILER_PATH="${compiler_path}"
export ALT_COMPILER_PATH export ALT_COMPILER_PATH
dirMustExist "${compiler_path}" ALT_COMPILER_PATH dirMustExist "${compiler_path}" ALT_COMPILER_PATH
path4sdk=${compiler_path}:${sharebin}:${antbin}:${findbugsbin} path4sdk=${compiler_path}:${sharebin}:${antbin}
# Add basic paths # Add basic paths
path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin
...@@ -237,7 +233,7 @@ else ...@@ -237,7 +233,7 @@ else
dosname="${mkshome}/mksnt/dosname -s" dosname="${mkshome}/mksnt/dosname -s"
# Most unix utilities are in the mksnt directory of ROOTDIR # Most unix utilities are in the mksnt directory of ROOTDIR
unixcommand_path="${mkshome}/mksnt" unixcommand_path="${mkshome}/mksnt"
path4sdk="${sharebin};${antbin};${findbugsbin};${unixcommand_path}" path4sdk="${sharebin};${antbin};${unixcommand_path}"
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
devtools_path="${jdk_devtools}/win32/bin" devtools_path="${jdk_devtools}/win32/bin"
path4sdk="${devtools_path};${path4sdk}" path4sdk="${devtools_path};${path4sdk}"
...@@ -255,7 +251,7 @@ else ...@@ -255,7 +251,7 @@ else
dosname="/usr/bin/cygpath -a -m -s" dosname="/usr/bin/cygpath -a -m -s"
# Most unix utilities are in the /usr/bin # Most unix utilities are in the /usr/bin
unixcommand_path="/usr/bin" unixcommand_path="/usr/bin"
path4sdk="${sharebin};${antbin};${findbugsbin};${unixcommand_path}" path4sdk="${sharebin};${antbin};${unixcommand_path}"
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
# Find GNU make # Find GNU make
make="${unixcommand_path}/make.exe" make="${unixcommand_path}/make.exe"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册