be bound to a Java Tag which is a Java bean that performs some function. Jelly is totally extendable via custom actions (in a similar way to JSP custom tags) as well as cleanly integrating with scripting languages such as Jexl, Velocity, pnuts, beanshell and via BSF (Bean Scripting Framework) languages like JavaScript & JPython. Jelly uses an XMLOutput class which extends SAX ContentHandler to output XML events. This makes Jelly ideal for XML content generation, SOAP scripting or dynamic web site generation. A single Jelly tag can produce, consume, filter or transform XML events. This leads to a powerful XML pipeline engine similar in some ways to Cocoon. WWW: http://jakarta.apache.org/commons/jelly/index.html
15 lines
462 B
Bash
15 lines
462 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
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 "$@"
|