#@SHELL@

if [ ! $TANGO_HOST ] && [ -f @TANGO_RC_FILE@ ]; then
   . @TANGO_RC_FILE@
fi

JAVALIB=@prefix@/share/java;

TANGOATK=$JAVALIB/ATKCore.jar:$JAVALIB/ATKWidget.jar

CLASSPATH=$JAVALIB/JTango.jar:$JAVALIB/Jive.jar:$TANGOATK
export CLASSPATH

LOGBACK=${TANGO_LOGBACK:-@prefix@/share/tango/logback.xml}

echo   Starting...

@JAVA@ \
    -DTANGO_HOST=$TANGO_HOST \
    -Dlogback.configurationFile="$LOGBACK" \
    jive.ExecDev \
    "$1"
