Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 34 lines (24 sloc) 0.736 kB
#!/bin/bash -x
#
source scripts/env
# Make sure we have a valid environment before we continue
./scripts/checkenv
if [[ $? -ne 0 ]]; then
exit 1
fi
if [ -z "$1" ]; then
echo "Give me a release number bub!"
exit 1
fi
if [ -z "$2" ]; then
echo "Give me a release number for OTP/Erlang bub!"
exit 1
fi
cd $COUCHBASE_SERVICE_HOME
touch local.properties
# build our jni code
ant -Dsdk.dir=$ANDROID_SDK_ROOT -Dndk.dir=$ANDROID_NDK_ROOT jni
# build couchbase.jar
ant -Dsdk.dir=$ANDROID_SDK_ROOT -Dndk.dir=$ANDROID_NDK_ROOT -Dextensible.libs.classpath=$ERL_HOME/lib/jinterface/priv/ -Dversion=$1 couchbase-jar
# build couchbase scripts
ant -Dsdk.dir=$ANDROID_SDK_ROOT -Dversion=$1 -Dotp.version=$2 couchbase-script
Jump to Line
Something went wrong with that request. Please try again.