Jonathan Hart | fda2447 | 2013-03-25 11:28:16 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | basedir=`dirname $0` |
| 4 | onosdir="${basedir}/.." |
| 5 | |
| 6 | logfile="${onosdir}/logback.xml" |
| 7 | jarfile="${onosdir}/target/floodlight-only.jar" |
| 8 | classpath="${jarfile}:${onosdir}/lib/*:${onosdir}/lib/titan/*" |
| 9 | mainclass="net.floodlightcontroller.core.Main" |
| 10 | propfile="${onosdir}/onos.properties" |
| 11 | |
| 12 | #java -Dlogback.configurationFile=logback.xml -cp target/floodlight-only.jar:lib/*:lib/titan/* net.floodlightcontroller.core.Main -cf onos.properties |
| 13 | java -Dlogback.configurationFile=${logfile} -cp ${classpath} ${mainclass} -cf ${propfile} |