bin/sonews-web.sh
author František Kučera <franta-hg@frantovo.cz>
Wed Dec 31 12:07:40 2014 +0100 (2014-12-31)
changeset 120 bb1c8a7b774c
permissions -rwxr-xr-x
XSLT: licence – GNU GPLv3
chris@1
     1
#!/bin/bash
chris@1
     2
SCRIPTROOT=$(dirname $0)
chris@1
     3
CLASSPATH=$SCRIPTROOT/lib/jchart2d.jar:\
chris@1
     4
$SCRIPTROOT/lib/sonews.jar:\
chris@1
     5
$SCRIPTROOT/lib/servlet-api-2.5.jar
chris@1
     6
ARG0=org.sonews.web.SonewsServlet@sonews
chris@1
     7
ARG1=org.sonews.web.SonewsConfigServlet@sonews/config
chris@1
     8
ARG2=org.sonews.web.SonewsPeerServlet@sonews/peer
chris@1
     9
ARG3=org.sonews.web.SonewsChartServlet@sonews/chart
chris@1
    10
java -cp $CLASSPATH org.sonews.kitten.Main -s $ARG0 -s $ARG1 -s $ARG2 -s $ARG3