blob: 8237bd60379b41367423fc253e6b85a41e57bda1 [file] [log] [blame]
Yuta HIGUCHI320d0f02014-02-18 19:24:40 -08001#!/bin/sh
2
3# run this script, when RAMCloud java binding is updated
4
5set -x
6
Yuta HIGUCHI318d9d12014-04-10 17:00:32 -07007export ONOS_HOME=${ONOS_HOME:-$(cd `dirname $0`; pwd)}
8export RAMCLOUD_HOME=${RAMCLOUD_HOME:-~/ramcloud}
Yuta HIGUCHI320d0f02014-02-18 19:24:40 -08009
Yuta HIGUCHIa7ec0732014-03-10 16:01:06 -070010${ONOS_HOME}/ramcloud-build-scripts/build_jni_so.sh
11
12cd ${ONOS_HOME}/target/classes
13jar cfe ${ONOS_HOME}/lib/RamCloud.jar edu.stanford.ramcloud.JRamCloud edu/stanford/ramcloud/*.class