bin/sonews-web.sh
author František Kučera <franta-hg@frantovo.cz>
Mon, 07 Nov 2011 17:47:10 +0100
changeset 118 ba7ea56fd672
parent 1 6fceb66e1ad7
permissions -rwxr-xr-x
drobnosti, TODO
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