#!/bin/sh

# Remember that this script is in apps/idemo-basic/scrips/unix,
# and current directory should be apps/idemo-basic.
# (Probably the config/operator.props file won't work if
# we're not in that directory.)

# First, work out where this app's I-X was installed.
# What directory is this script in?
#here=`dirname "$0"`
#app="$here/../.."
#ix="$app/../.."

cd ../..
app=`dirname "$0"`
ix="$app/../.."


# Run allowing built-in communication strategies

#exec $ix/scripts/unix/ix-java ix.ip2.Ip2 \
#	 -load $app/config/operator.props \
#	"$@"

env CLASSPATH=java:$CLASSPATH $ix/scripts/unix/ix-java ix.ip2.Ip2 -load $app/config/new-operator.props "$@"
