Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | #echo "PROJECT_HOME:$PROJECT_HOME" |
| 3 | |
Marcus G K Williams | a3d1f08 | 2017-09-28 14:56:12 -0700 | [diff] [blame] | 4 | MYSQL_JDBC_DRIVER=${MYSQL_JDBC_DRIVER:-$PROJECT_HOME/svclogic/lib/mariadb-java-client-2.1.1.jar} |
Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 5 | JARDIR="$PROJECT_HOME/svclogic/lib" |
| 6 | #JARDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 7 | |
| 8 | CLASSPATH=$CLASSPATH:$MYSQL_JDBC_DRIVER |
| 9 | for jar in $JARDIR/*.jar |
| 10 | do |
| 11 | CLASSPATH=$CLASSPATH:${jar} |
| 12 | done |
| 13 | #echo "CLASSPATH is ${CLASSPATH}" |
Marcus G K Williams | a3d1f08 | 2017-09-28 14:56:12 -0700 | [diff] [blame] | 14 | java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER}:${SLI_COMMON_JAR} org.onap.ccsdk.sli.core.sli.SvcLogicParser $* |