Hi all,
I just successfully uploaded my first attempt at a debian package for
helma 1 to my personal Ubuntu package archive:
https://launchpad.net/~hannesw/+archive
By adding the archive to your apt sources you should get two packages,
helma1 and helma1-docs. These are trunk svn snapshots from today.
They install in two directories: /usr/share/helma1/ for the static jar
files mostly, and /var/share/helma1/ for properties, apps, db, and log
files. The log directory is also linked to /var/log/helma1, and system/
error output goes to syslog.
There's also an init-script which I modeled from the tomcat6 debian
package, and by default it starts jetty on port 8080. It is in /etc/
init.d/helma1 and takes the usual start/stop/restart/status etc
arguments
Now the cool thing is this runs with jsvc from apache commons daemon,
which allows us to run jetty on port 80 while running helma under its
own user (called, not surprisingly, helma1). Just edit /var/lib/helma1/
server.properties and set webPort to 80 (or
127.0.0.1:80 if you only
want to accept connections from localhost) and restart.
There are some things missing: helmaTools isn't included, and I had to
remove the helmadoc functionality in order to workaround a openjdk
bug.
Let me know what you think.
Hannes