#!/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/access/v1.3.26/regex_example.adapter
export CONFIG_FILE

CUR_DIR=`pwd`
export CUR_DIR

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

java -classpath $GLA_HOME/lib/hgla.jar:$GLA_HOME/lib/hexr.jar:$GLA_HOME/lib/hlcbe101.jar:$GLA_HOME/lib/ecore.jar:$GLA_HOME/lib/common.jar:$GLA_HOME/lib/hlcore.jar org.eclipse.hyades.logging.adapter.Adapter -ac $CONFIG_FILE -cc $CONFIG_FILE

cd $CUR_DIR

