summaryrefslogtreecommitdiffstats
path: root/build/honeycomb-jar-replace.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-04-28 08:20:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-28 08:20:41 +0000
commite74b8e1e863e9d0e541a897e5681275cad40db8a (patch)
tree0c9e7a7e76c8dfa21627d724fbcd86df25e2deed /build/honeycomb-jar-replace.sh
parentd81cd2087be5edf5d2c0d98ad71a63360ae8511f (diff)
parentaf7aa485a0eb746a7d7c6a5b5dcf00ed9f4eba57 (diff)
Merge "Update VPP/ODL versions for FDIO scenarios"
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