Yuta HIGUCHI | 320d0f0 | 2014-02-18 19:24:40 -0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # run this script, when RAMCloud java binding is updated |
| 4 | |
| 5 | set -x |
| 6 | |
Yuta HIGUCHI | 318d9d1 | 2014-04-10 17:00:32 -0700 | [diff] [blame] | 7 | export ONOS_HOME=${ONOS_HOME:-$(cd `dirname $0`; pwd)} |
| 8 | export RAMCLOUD_HOME=${RAMCLOUD_HOME:-~/ramcloud} |
Yuta HIGUCHI | 320d0f0 | 2014-02-18 19:24:40 -0800 | [diff] [blame] | 9 | |
Yuta HIGUCHI | a7ec073 | 2014-03-10 16:01:06 -0700 | [diff] [blame] | 10 | ${ONOS_HOME}/ramcloud-build-scripts/build_jni_so.sh |
| 11 | |
| 12 | cd ${ONOS_HOME}/target/classes |
| 13 | jar cfe ${ONOS_HOME}/lib/RamCloud.jar edu.stanford.ramcloud.JRamCloud edu/stanford/ramcloud/*.class |