blob: 3ec1c0dad5a448b78db8cd2093ad5d2c3ff2b8c3 [file] [log] [blame]
#!/bin/bash
if [ ! -f interop/InteropCPP ]
then
echo Interop CPP example not found, please check whether it is built.
exit 1
fi
if [ ! -f interop/InteropJAVA.class ]
then
echo Interop Java example not found, please check whether it is built.
exit 1
fi
echo Running GemFire QuickStart Interop example ...
export CLASSPATH="${GEMFIRE}/lib/gemfire.jar:./interop"
export PATH="${PATH}:${GEMFIRE}/bin"
if [ ! -d gfecs ]
then
mkdir gfecs
fi
cacheserver start cache-xml-file=../XMLs/serverInterop.xml mcast-port=35673 -dir=gfecs
interop/InteropCPP &
java InteropJAVA &
# cacheserver stop -dir=gfecs
echo Finished Interop example.