#!/bin/sh
# USAGE:  runregex.sh
# Change the following line to point to the directory where you unzipped the runtime
GLA_HOME=/home/eclipse/GenericLogAdapter
export GLA_HOME

CONFIG_FILE=$GLA_HOME/config/Apache/error/v1.3.26/regex_example.adapter
export CONFIG_FILE

CUR_DIR=`pwd`
export CUR_DIR

cd $GLA_HOME/config/Apache/error/v1.3.26

java -classpath $GLA_HOME/lib/hgla.jar:$GLA_HOME/lib/hexr.jar:$GLA_HOME/lib/hlevents.jar:$GLA_HOME/lib/hlcore.jar:$GLA_HOME/lib/jakarta-oro.jar:$GLA_HOME/lib/xercesImpl.jar:$GLA_HOME/lib/xmlParserAPIs.jar org.eclipse.hyades.logging.adapter.Adapter -ac $CONFIG_FILE -cc $CONFIG_FILE

cd $CUR_DIR

