blob: 8237bd60379b41367423fc253e6b85a41e57bda1 [file] [log] [blame]
#!/bin/sh
# run this script, when RAMCloud java binding is updated
set -x
export ONOS_HOME=${ONOS_HOME:-$(cd `dirname $0`; pwd)}
export 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