#!/bin/sh

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

# Provide some parameter defaults

if [ -z "$propsfile" ]
then
    propsfile=config/ime.props
    echo "Setting props file to $propsfile"
fi

if [ -z "$panel_name" ]
then
    user=${USER:-$LOGNAME}
    domain=`domainname`
    location=${domain:-`hostname`}
    panel_name="IX-$user@$location"
    echo "Setting panel_name to $panel_name"
fi

# Run allowing built-in communication strategies

exec ./scripts/unix/app-java isample.Isample \
     -load $propsfile \
     "-display-name=$panel_name Process Panel" \
     -ipc-name=$panel_name \
     -symbol-name=$panel_name \
     "$@"
