#!/bin/sh

# Remember that this script is in apps/*/scrips/unix
# and current directory should be apps/*

ix_base=../..
ix_scripts=$ix_base/scripts/unix

# 1st arg is the communication strategy
strategy=$1
shift
echo "Using communication strategy $strategy"

# 2nd arg is the app class
appclass=$1
shift
echo "Application class $appclass"

env CLASSPATH=java $ix_scripts/ix-comms-java $strategy \
	$appclass -ipc=$strategy "$@"
