Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-04-24 09:09:13 +0000
committerAlexander Kurtakov2020-04-24 09:09:13 +0000
commitc2bb8918467800578e0811c96c5522ea788a8fad (patch)
tree56da41741e5fca7b5d990ba2eb3c6e7174a269f8 /production/miscToolsAndNotes/updaterepo/cleanComposite.sh
parent33f1573bf8bc5b170483288e29c7aa7f4cae4a66 (diff)
downloadeclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.tar.gz
eclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.tar.xz
eclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.zip
Bug 562424 - Performance tests not published
Delete the old scripts. Finding out that more than a day is lost looking at old files is really demotivating. Change-Id: I1f9327cb024419df83f86452f86987af12b08e4f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'production/miscToolsAndNotes/updaterepo/cleanComposite.sh')
-rwxr-xr-xproduction/miscToolsAndNotes/updaterepo/cleanComposite.sh74
1 files changed, 0 insertions, 74 deletions
diff --git a/production/miscToolsAndNotes/updaterepo/cleanComposite.sh b/production/miscToolsAndNotes/updaterepo/cleanComposite.sh
deleted file mode 100755
index 237791f0b..000000000
--- a/production/miscToolsAndNotes/updaterepo/cleanComposite.sh
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/usr/bin/env bash
-
-# Utility to invoke p2.process.artifacts via eclipse antrunner
-# First argument must be the absolute directory path to the
-# (simple) artifact repository.
-
-JAVA_11_HOME=${JAVA_11_HOME:-/opt/public/common/java/openjdk/jdk-11_x64-latest}
-
-export JAVA_HOME=${JAVA_HOME:-${JAVA_11_HOME}}
-
-devJRE="${JAVA_HOME}/bin/java"
-
-if [[ ! -n ${devJRE} -a -x ${devJRE} ]]
-then
- echo "ERROR: could not find (or execute) JRE were expected: ${devJRE}"
- exit 1
-else
- # display version, just to be able to log it.
- echo "DEBUG: JRE Location and Version: ${devJRE}"
- echo "DEBUG: $( $devJRE -version )"
-fi
-
-
-# remember, the eclipse install must match the VM used (e.g. both 64 bit, both 32 bit, etc).
-# The default value is "hard coded" for running on Hudson case. Could be improved to a non-dirty tree location.
-ECLIPSE_EXE=${ECLIPSE_EXE:-utilities/eclipse.platform.releng.tychoeclipsebuilder/eclipse/org.eclipse.releng.basebuilder/eclipse }
-
-if [ ! -n ${ECLIPSE_EXE} -a -x ${ECLIPSE_EXE} ]
-then
- echo "ERROR: ECLIPSE_EXE is not defined or not executable: ${ECLIPSE_EXE}"
- exit 2
-fi
-
-BUILDFILE=cleanComposite.xml
-if [[ -z "${BUILDFILE}" ]]
-then
- printf "\n\t%s\t%s\n" "ERROR" "must provide ant file to perform composite update as first argument"
- exit 1
-fi
-if [[ ! -e "${BUILDFILE}" ]]
-then
- printf "\n\t%s\t%s\n" "ERROR" "BUILDFILE does not exist: ${BUILDFILE}"
- exit 1
-fi
-BUILDFILESTR="-f ${BUILDFILE}"
-
-repodir=$1
-if [[ -z "${repodir}" ]]
-then
- printf "\n\t%s\t%s\n" "ERROR" "repodir must be specified as first argument"
- exit 1
-fi
-if [[ ! -e "${repodir}" ]]
-then
- printf "\n\t%s\t%s\n" "ERROR" "repodir does not exist: ${repodir}"
- exit 1
-else
- REPODIRSTR="-Drepodir=${repodir}"
-fi
-
-devArgs="$devArgs $REPODIRSTR $COMPLOCATIONSTR"
-
-devworkspace=workspace-updateComposite
-
-${ECLIPSE_EXE} --launcher.suppressErrors -nosplash -console -debug -data $devworkspace -application org.eclipse.ant.core.antRunner $BUILDFILESTR ${extraArgs} -vm $devJRE -vmargs $devArgs
-RC=$?
-if [[ $RC != 0 ]]
-then
- echo "error occurred in composite operation RC: $RC"
- exit $RC
-fi
-
-exit 0
-

Back to the top