blob: 41b2cc645b170baa968a49d8523e714a67a5df87 [file] [log] [blame]
Jonathan Hartfda24472013-03-25 11:28:16 -07001#!/bin/sh
2
3basedir=`dirname $0`
4onosdir="${basedir}/.."
5
6logfile="${onosdir}/logback.xml"
7jarfile="${onosdir}/target/floodlight-only.jar"
8classpath="${jarfile}:${onosdir}/lib/*:${onosdir}/lib/titan/*"
9mainclass="net.floodlightcontroller.core.Main"
10propfile="${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
13java -Dlogback.configurationFile=${logfile} -cp ${classpath} ${mainclass} -cf ${propfile}