Use released versions of maven artifacts
[ccsdk/distribution.git] / dgbuilder / svclogic / svclogic.sh
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  -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat="yyyy-MM-dd HH:mm:ss" -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER}:${SLI_COMMON_JAR} org.onap.ccsdk.sli.core.sli.SvcLogicParser $*

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use