summaryrefslogtreecommitdiffstats
path: root/build/honeycomb-jar-replace.sh
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-04-26 08:01:15 -0400
committerFeng Pan <fpan@redhat.com>2017-04-27 05:12:51 -0400
commitaf7aa485a0eb746a7d7c6a5b5dcf00ed9f4eba57 (patch)
tree1dd4c11f98b248e5778d6f76568eb27e0d7562d9 /build/honeycomb-jar-replace.sh
parent58f6327a3d52e9e84827cd4720fc8cb16fe0627b (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. os-net-config-pr: 7 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