#!/bin/sh

# Set up default variable values if not supplied by the user.

# where the new builds exist
HDFBLD_HOME=@abs_top_builddir@
export HDFBLD_HOME

# where Java is installed (requires jdk1.4.x)
JAVAPATH=@JAVABIN@
export JAVAPATH

CLASSPATH=$HDFBLD_HOME"/lib/jh4toh5.jar:"$HDFBLD_HOME"/lib/jhdf.jar:"$HDFBLD_HOME"/lib/jhdf5.jar:"$HDFBLD_HOME"/lib/jhdf5obj.jar:"$HDFBLD_HOME"/lib/jhdfobj.jar:../../.."

LD_LIBRARY_PATH=$HDFBLD_HOME"/lib/@JAVATARG@"

export CLASSPATH
export LD_LIBRARY_PATH

#modify to use other files
@JAVA@ -Djava.library.path=$LD_LIBRARY_PATH -Dncsa.hdf.hdf5lib.H5.hdf5lib=$HDFBLD_HOME"/lib/@JAVATARG@/libjh4toh5.so" test.object.misc.TestH5File vg_all_test.h5

#check results...
