blob: 3e3e48ddeaeb5f9c73370deaf13c4fda37683b0e [file] [log] [blame]
#!/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