#!/bin/sh
# Unix "driver" for Aperi configuration program.
#
# invoke as 'cfgaperi [easy]' --- but java must be in your path
# it's important that this run from the derby installation
# directory (e.g. "c:\aperi\derby") so that the derby database
# gets created in the right place. And Derby will
# create it in $CWD...
cd ../db
PATH=$JAVA_HOME/bin:$PATH
java -cp ../datasvr/plugins/org.eclipse.aperi.db_1.0.0/derbyclient.jar:../datasvr/plugins/org.eclipse.aperi.db_1.0.0/derbynet.jar:../datasvr/plugins/org.eclipse.aperi.common_5.0.0.jar:../datasvr/plugins/org.eclipse.aperi.server.data_5.0.0.jar:../configure/soap.jar org.eclipse.aperi.configure.ConfigureAperi $1
