#!/bin/sh
# Creating the index can require a lot of memory.
# You may have to increase the memory allocation pool, e.g. -Xmx1024m

if [ -z "${SIS_INDEX_JAR}" ]; then

    if [ -z "${SIS_VERSION}" ]; then
        SIS_VERSION=5.0;
    fi

    SIS_INDEX_JAR=/Users/mike/src/org.jmonde.sis-${SIS_VERSION}/build/org.jmonde.sis.index-${SIS_VERSION}.jar
fi

java ${SIS_JAVA_OPTIONS} -jar ${SIS_INDEX_JAR} "$@"
