#!/bin/sh
OLD_PATH=$PATH
JAVA_OPTMIN=-Xms512M
JAVA_OPTMAX=-Xmx1024M

cd "$(dirname "$0")"
CIR_HOME=.
LIB=$CIR_HOME/lib

CLASSPATH=$CIR_HOME
CLASSPATH=$CLASSPATH:catalogue.jar
export PATH=$PATH:$CLASSPATH
 
java $JAVA_OPTMIN $JAVA_OPTMAX -cp "$CLASSPATH" it.polimi.dei.spatialdbgroup.geoumltools.catalogue.GeoUmlCatalogue "$LIB"

export PATH=$OLD_PATH