#!/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 ../plugins/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar:../plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar:../plugins/org.eclipse.aperi.common.utils_1.0.0.jar:../plugins/org.eclipse.aperi.db_1.0.0/derbyclient.jar:../plugins/org.eclipse.aperi.db_1.0.0/derbynet.jar:../plugins/org.eclipse.aperi.common_5.0.0.jar:../plugins/org.eclipse.aperi.server.data_5.0.0.jar:../plugins/org.eclipse.aperi.db_1.0.0/db2jcc.jar:../plugins/org.eclipse.aperi.db_1.0.0/db2jcc_license_cu.jar:../configure/soap.jar:../configure/xercesImpl.jar org.eclipse.aperi.configure.ConfigureAperi $@