#!/bin/sh
#
# $FreeBSD: ports/lang/jakarta-commons-jelly/files/jelly.sh.in,v 1.1 2005/08/01 15:11:30 hq Exp $

JELLY_HOME="${JELLY_HOME:-"%%DATADIR%%"}"
CLASSPATH="${CLASSPATH}:${JELLY_HOME}/lib/forehead-1.0-beta-5.jar"
FOREHEAD_CONF="${FOREHEAD_CONF:-"${JELLY_HOME}/bin/forehead.conf"}"

JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
	-classpath "${CLASSPATH}" \
	-Dforehead.conf.file="${FOREHEAD_CONF}" \
	-Djelly.home="${JELLY_HOME}" \
	-Dtools.jar="${JAVA_HOME}/lib/tools.jar" \
	${JELLY_OPTS} \
	com.werken.forehead.Forehead "$@"


syntax highlighted by Code2HTML, v. 0.9.1