blob: 41b2cc645b170baa968a49d8523e714a67a5df87 [file] [log] [blame]
#!/bin/sh
basedir=`dirname $0`
onosdir="${basedir}/.."
logfile="${onosdir}/logback.xml"
jarfile="${onosdir}/target/floodlight-only.jar"
classpath="${jarfile}:${onosdir}/lib/*:${onosdir}/lib/titan/*"
mainclass="net.floodlightcontroller.core.Main"
propfile="${onosdir}/onos.properties"
#java -Dlogback.configurationFile=logback.xml -cp target/floodlight-only.jar:lib/*:lib/titan/* net.floodlightcontroller.core.Main -cf onos.properties
java -Dlogback.configurationFile=${logfile} -cp ${classpath} ${mainclass} -cf ${propfile}