bin/sonews-web.sh
author František Kučera <franta-hg@frantovo.cz>
Mon Oct 17 21:06:24 2011 +0200 (2011-10-17)
changeset 92 a865136070a0
permissions -rwxr-xr-x
Drupal: text/plain – h2 bude podtřžené = místo # + podpora značky cite.
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