#!/bin/sh | |
# run this script, when RAMCloud java binding is updated | |
set -x | |
ONOS_HOME=${ONOS_HOME:-~/ONOS} | |
RAMCLOUD_HOME=${RAMCLOUD_HOME:-~/ramcloud} | |
${ONOS_HOME}/ramcloud-build-scripts/build_jni_so.sh | |
cd ${ONOS_HOME}/target/classes | |
jar cfe ${ONOS_HOME}/lib/RamCloud.jar edu.stanford.ramcloud.JRamCloud edu/stanford/ramcloud/*.class |