Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-03-27 20:08:19 +0000
committerSravan Kumar Lakkimsetti2020-03-30 04:26:20 +0000
commitc8dcce620764bde488370b60e9fd95e47766d1eb (patch)
tree52ab833b460277020f2f678b241430295e9e2a68
parent2fcca1a0ef7111f1c484e5b850a5af3befbbda32 (diff)
downloadeclipse.platform.releng.aggregator-c8dcce620764bde488370b60e9fd95e47766d1eb.tar.gz
eclipse.platform.releng.aggregator-c8dcce620764bde488370b60e9fd95e47766d1eb.tar.xz
eclipse.platform.releng.aggregator-c8dcce620764bde488370b60e9fd95e47766d1eb.zip
jdeps reports haven't been generated for couple of years at least.
Change-Id: I7a5656a1247ce18f01d8c191f143322f7a90a97d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rwxr-xr-xproduction/reports/jdepsReport.sh68
1 files changed, 0 insertions, 68 deletions
diff --git a/production/reports/jdepsReport.sh b/production/reports/jdepsReport.sh
deleted file mode 100755
index e76fec9b1..000000000
--- a/production/reports/jdepsReport.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash
-#*******************************************************************************
-# Copyright (c) 2017 IBM Corporation and others.
-#
-# This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License 2.0
-# which accompanies this distribution, and is available at
-# https://www.eclipse.org/legal/epl-2.0/
-#
-# SPDX-License-Identifier: EPL-2.0
-#
-# Contributors:
-# Sravan Kumar Lakkimsetti - initial API and implementation
-#*******************************************************************************
-
-# Utility to generate jdeps -jdkinternals report
-# Requires 2 parameters
-# - repo location
-# - output filename (full path)
-
-# Uses JAVA_HOME environment variable if set. else defaults to /shared/common/jdk1.8.0_x64-latest
-
-JAVA_8_HOME=/shared/common/jdk1.8.0_x64-latest
-export JAVA_HOME=${JAVA_HOME:-${JAVA_8_HOME}}
-
-if [ $# -ne 2 ]
-then
- echo "USAGE: $0 <Repository Location> <report file name with full path>"
- exit 1
-fi
-
-repo=$1
-outputFile=$2
-outputDir=$(dirname ${outputFile})
-
-if [ ! -d "${repo}" ]
-then
- echo "${repo} does not exist. Exiting ...."
- exit 1
-fi
-
-if [ ! -d "${JAVA_HOME}" ]
-then
- echo "${JAVA_HOME} does not exist. Please set JAVA_HOME and run again ...."
- exit 1
-fi
-
-mkdir -p ${outputDir}
-
-echo -e "\n\n\n#jdeps -jdkinternals output:" > ${outputFile}
-find ${repo} -name "*.jar" -print > ${outputFile}.tmp
-for i in $(sort ${outputFile}.tmp)
-do
- ${JAVA_HOME}/bin/jdeps -jdkinternals ${i} > ${outputFile}.interim
- fileSize=$(stat -c %s ${outputFile}.interim)
- if [ $fileSize -gt 0 ]
- then
- echo -e "\n###### Start of Java internal API usage report for $(basename ${i}) \n">> ${outputFile}
- cat ${outputFile}.interim >> ${outputFile}
- echo -e "\n###### End of Java internal API usage report for $(basename ${i}) \n">> ${outputFile}
- echo -e "\n" >> ${outputFile}
- fi
- rm ${outputFile}.interim
-done
-echo "# " >> ${outputFile}
-
-#Cleanup
-rm ${outputFile}.tmp

Back to the top