From b731e2f1dd0972409b136aebc7b463dd72c9cfad Mon Sep 17 00:00:00 2001 From: CNlucius Date: Tue, 13 Sep 2016 11:40:12 +0800 Subject: ONOSFW-171 O/S-SFC-ONOS scenario documentation Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365 Signed-off-by: CNlucius --- framework/src/onos/tools/test/bin/onos-stage-apps | 29 ----------------------- 1 file changed, 29 deletions(-) delete mode 100755 framework/src/onos/tools/test/bin/onos-stage-apps (limited to 'framework/src/onos/tools/test/bin/onos-stage-apps') diff --git a/framework/src/onos/tools/test/bin/onos-stage-apps b/framework/src/onos/tools/test/bin/onos-stage-apps deleted file mode 100755 index 4c2c230e..00000000 --- a/framework/src/onos/tools/test/bin/onos-stage-apps +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# ----------------------------------------------------------------------------- -# Stages builtin ONOS apps into the specified directory for packaging. -# ----------------------------------------------------------------------------- - -[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 -. $ONOS_ROOT/tools/build/envDefaults - -export APPS=${1:-/tmp/apps} -export KARAF_M2=${2:-/tmp/karaf/system} -export AUX=$APPS/aux - -# Bail on any errors -set -e - -mkdir -p $APPS $KARAF_M2 -rm -fr $AUX - -find $M2_REPO/org/onosproject/ -name "*.oar" -path "*/${ONOS_POM_VERSION}/*" | while read line; do - mkdir -p $AUX && cd $AUX - cp $line $AUX - jar -xf $AUX/*.oar - name=$(grep "name=" $AUX/app.xml | sed 's/