Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | #echo "PROJECT_HOME:$PROJECT_HOME" |
| 3 | |
| 4 | MYSQL_JDBC_DRIVER=${MYSQL_JDBC_DRIVER:-$PROJECT_HOME/svclogic/lib/mysql-connector-java-5.1.31.jar} |
| 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}" |
| 14 | java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER}:${SLI_COMMON_JAR} org.openecomp.sdnc.sli.SvcLogicParser $* |