#!/bin/bash CDS_NAME='CDS' CDS_URL='http://localhost:6062/CDS' CDS_CONTROLLER_URL='http://localhost:6061/CDSController' DEVICE_ROOTID='rootId' DEVICE_EXTENSIONID='extensionId' DEVICE_URL='deviceURL' LIB="${CDS_HOME}/lib" if [ -n "${CDS_HOME}" ]; then java -cp ${LIB}/WSServer.jar:${LIB}/log4j-1.2.9.jar:${LIB}/commons-logging-1.1.1.jar \ net.ihe.gazelle.shakespeare.WebServicesServer.ClinicalDataSource \ ${CDS_NAME} \ ${CDS_URL} \ ${CDS_CONTROLLER_URL} \ ${DEVICE_ROOTID} \ ${DEVICE_EXTENSIONID} \ ${DEVICE_URL} \ ${CDS_HOME/resource/homePage.html} \ ${CDS_HOME}/conf/log4j.properties \ & exit 0 else echo $"user `whoami` attempted to execute runCDS." echo $"runCDS requires CDS_HOME environment variable be set." \ exit 1 fi