#22 Add unix distro and startup script

open
nobody
None
5
2007-12-20
2007-12-20
Jens Wilke
No

There is no simple Unix like package, which can be simply untared and started.

Here is a simple Unix start script, which may be integrated:

#!/bin/sh

# Treebread Unix startup script
# Copyright headissue GmbH, Jens Wilke, 2007

# find out install directory
US=`dirname $0`;
US=`(cd $US; pwd))`;

cd $US;
# build classpath with all delivered jars
export CLASSPATH=$US:`for I in $US/*.jar; do echo -n ":"$I; done`
exec java com.robrohan.fangorn.Fangorn

Discussion