bin/sonews-web.sh
author cli
Sun, 29 Aug 2010 17:03:21 +0200
changeset 33 f9bf183447d1
parent 1 6fceb66e1ad7
permissions -rw-r--r--
Article(javax.mail.Message) now has a safe method to read the byte body from the given message object (fixes #16).
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