Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2019-10-31 11:16:54 +0000
committerSravan Kumar Lakkimsetti2019-10-31 11:16:54 +0000
commita58ac17c8b3501546832de5d05be95a8b6aaa86e (patch)
treebf6eb4a3cb22726d0fd8bcfa9a7ea426331056c0 /cje-production/scripts
parent941db02b67449bb058208b8f9d898bc68c60e0de (diff)
downloadeclipse.platform.releng.aggregator-a58ac17c8b3501546832de5d05be95a8b6aaa86e.tar.gz
eclipse.platform.releng.aggregator-a58ac17c8b3501546832de5d05be95a8b6aaa86e.tar.xz
eclipse.platform.releng.aggregator-a58ac17c8b3501546832de5d05be95a8b6aaa86e.zip
Bug 552552 - Develop scripts to add to repo and delete from repo for JIRO use
Change-Id: I73267ee1d1fa8adb58908edf18adc35d47ebaa25 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'cje-production/scripts')
-rwxr-xr-xcje-production/scripts/getEclipsePlatform.sh26
-rwxr-xr-xcje-production/scripts/runAntRunner.sh87
2 files changed, 0 insertions, 113 deletions
diff --git a/cje-production/scripts/getEclipsePlatform.sh b/cje-production/scripts/getEclipsePlatform.sh
deleted file mode 100755
index c2d3b7c62..000000000
--- a/cje-production/scripts/getEclipsePlatform.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-#*******************************************************************************
-# Copyright (c) 2019 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
-#*******************************************************************************
-
-# Gets latest release version of eclipse platform product
-
-downloadPath=/home/data/httpd/download.eclipse.org/eclipse/downloads/drops4
-
-#get latest release folder
-epRelDir=$(ls -d --format=single-column ${downloadPath}/R-*|sort|tail -1)
-
-#get eclipse platform product
-cp ${epRelDir}/eclipse-platform-*-linux-gtk-x86_64.tar.gz .
-
-tar xzf eclipse-platform-*-linux-gtk-x86_64.tar.gz
diff --git a/cje-production/scripts/runAntRunner.sh b/cje-production/scripts/runAntRunner.sh
deleted file mode 100755
index f85bc7dd7..000000000
--- a/cje-production/scripts/runAntRunner.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-#*******************************************************************************
-# Copyright (c) 2019 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 invoke eclipse antrunner
-
-baseBuilderDir=${WORKSPACE}/eclipse
-if [[ ! -d "${baseBuilderDir}" ]]
-then
- echo "ERROR: The directory did not exist."
- echo " baseBuilderDir: ${baseBuilderDir}"
- exit 1
-fi
-
-launcherJar=$( find $baseBuilderDir/ -name "org.eclipse.equinox.launcher_*.jar" | sort | head -1 )
-if [[ -z "${launcherJar}" || ! -f "${launcherJar}" ]]
-then
- echo "ERROR: The launcher did not exist."
- echo " launcherJar: ${launcherJar}"
- exit 1
-fi
-
-JAVA_8_HOME=/opt/tools/java/oracle/jdk-8/latest
-export JAVA_HOME=${JAVA_HOME:-${JAVA_8_HOME}}
-
-if [[ ! -d "${JAVA_HOME}" ]]
-then
- echo "ERROR: JAVA_HOME did not exist."
- echo " JAVA_HOME: ${JAVA_HOME}"
- exit 1
-fi
-javaCMD=${JAVA_HOME}/bin/java
-
-BUILDFILE=$1
-if [ -e $BUILDFILE ]
-then
- BUILDFILESTR=" -file $BUILDFILE"
- shift
-else
- BUILDFILESTR=" -file build.xml"
-fi
-
-# use special $@ to keep all (remaining) arguments quoted (instead of one big string)
-extraArgs="$@"
-
-echo
-echo " BUILDFILESTR: $BUILDFILESTR"
-if [ -n "${extraArgs}" ]
-then
- echo " extraArgs: ${extraArgs}"
- echo " as it is right now, target name must be first \"extraArg\" if specifying one."
-fi
-echo
-
-
-devworkspace=${WORKSPACE}/workspace-antRunner
-devArgs=-Xmx512m
-
-echo
-echo " buildId: ${buildId}"
-echo " buildId: ${eclipseStream}"
-echo " basebuilderParent: ${basebuilderParent}"
-echo " baseBuilderDir: ${baseBuilderDir}"
-echo " launcherJar: ${launcherJar}"
-echo " BUILD_HOME: ${BUILD_HOME}"
-echo " dev script: $0"
-echo " devworkspace: $devworkspace"
-echo " devArgs (-vmargs): $devArgs"
-echo " javaCMD: $javaCMD"
-echo " BUILDFILESTR: $BUILDFILESTR"
-echo " extraArgs: ${extraArgs}"
-echo
-
-${javaCMD} -jar ${launcherJar} -nosplash -consolelog -debug -data $devworkspace -application org.eclipse.ant.core.antRunner $BUILDFILESTR ${extraArgs} -vmargs $devArgs
-

Back to the top