bin/sonews-web.sh
author František Kučera <franta-hg@frantovo.cz>
Thu, 05 Jul 2012 13:19:19 +0200
changeset 119 f5b57e221e38
parent 1 6fceb66e1ad7
permissions -rwxr-xr-x
mezery, tabulátory
     1 #!/bin/bash
     2 SCRIPTROOT=$(dirname $0)
     3 CLASSPATH=$SCRIPTROOT/lib/jchart2d.jar:\
     4 $SCRIPTROOT/lib/sonews.jar:\
     5 $SCRIPTROOT/lib/servlet-api-2.5.jar
     6 ARG0=org.sonews.web.SonewsServlet@sonews
     7 ARG1=org.sonews.web.SonewsConfigServlet@sonews/config
     8 ARG2=org.sonews.web.SonewsPeerServlet@sonews/peer
     9 ARG3=org.sonews.web.SonewsChartServlet@sonews/chart
    10 java -cp $CLASSPATH org.sonews.kitten.Main -s $ARG0 -s $ARG1 -s $ARG2 -s $ARG3