#!/bin/sh
# 
# regsearch:  query an IVOA searchable registry
#
#
prog=$0

IVOAREG_HOME=@IVOAREG_HOME@
lib=${IVOAREG_HOME}/lib

if [ -z $JAVA_HOME ]; then
    bin=""
else
    bin="$JAVA_HOME/bin/"
fi

classpath=$lib/ivoaregistry.jar:$lib/saaj.jar:$lib/axis.jar:$CLASSPATH

exec ${bin} -cp $classpath net.ivoa.registry.search.test.TestRegistry $*
