#!/bin/bash
#====================================================================
#  Create the contents for the $BIOR_CATALOG/CATALOG_LIST.txt file
#====================================================================

# Check for -h flag for help.  If given, just shift it off as the command will return help if no parameters given
if [ "$1" == "-h" ] ; then
  shift
fi

set -e
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
$SCRIPT_DIR/_bior_check_java_version

java -cp $BIOR_LITE_HOME/conf:$BIOR_LITE_HOME/lib/*  edu.mayo.bior.catalog.list.CatalogListGenerator  $@
