summaryrefslogtreecommitdiffstats
path: root/build/honeycomb-jar-replace.sh
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-04-28 04:26:39 -0400
committerFeng Pan <fpan@redhat.com>2017-04-28 04:26:39 -0400
commit6557a832f652ac8a57ef9ad4c7b5cded3f9a7db2 (patch)
tree5159cde0441da171fe99d750ccc954c1a00ddf5d /build/honeycomb-jar-replace.sh
parent168e9e92a39d03b5455938dfa7269017602e99e8 (diff)
Update VPP/ODL versions for FDIO scenarios
Pin the same set of FDIO and OpenDaylight versions for all fdio scenarios. Note that fdio_netvirt-fdio still uses a customized ODL version. JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/honeycomb-jar-replace.sh')
-rwxr-xr-xbuild/honeycomb-jar-replace.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/build/honeycomb-jar-replace.sh b/build/honeycomb-jar-replace.sh
deleted file mode 100755
index f89ddda7..00000000
--- a/build/honeycomb-jar-replace.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-JARS=$(find /usr/share/java/ -type f -iname 'jvpp-*.jar')
-if [ -z "$JARS" ]; then
- echo "ERROR: JARS to replace from vpp-api-java are empty!"
- exit 1
-fi
-
-for JAR in $JARS; do
- JAR_PREFIX=$(basename $JAR | sed -n 's/-[0-9]\+\.[0-9]\+\.jar$//p')
- JAR_VERSION=$(basename $JAR | grep -Eo '[0-9]+.[0-9]+')
- HC_JAR_DIR=/opt/honeycomb/lib/io/fd/vpp/${JAR_PREFIX}/${JAR_VERSION}-SNAPSHOT
- if [ ! -d "$HC_JAR_DIR" ]; then
- echo "ERROR: Honeycomb JAR destination directory does not exist!"
- exit 1
- else
- cp -f ${JAR} ${HC_JAR_DIR}/${JAR_PREFIX}-${JAR_VERSION}-SNAPSHOT.jar
- echo "INFO: VPP API JAR: ${JAR} copied to ${HC_JAR_DIR}"
- fi
-done