Groups revision b4b45a7526fef6a514d6c746d80a05f898ba573d
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# Supported Environment Variables:
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - OPENGROK_STANDARD_ENV Run Time Shell Environment (Shell Script)
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - OPENGROK_CONFIGURATION User Configuration (Shell Script)
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# Supported Environment Variables for configuring the default setup:
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - OPENGROK_DISTRIBUTION_BASE Base Directory of the OpenGrok Distribution
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - determining the opengrok.jar
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - OPENGROK_INSTANCE_BASE Base Directory of the OpenGrok User Data Area
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - determining the configuration
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# switch), default is DATA_ROOT/etc/ctags.config
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - JAVA_HOME Full Path to Java Installation Root
cde360cd5de39fb910ebfcc0839f8c3fa465ef8bLennart Poettering# - JAVA Full Path to java binary (to enable 64bit JDK)
fe8d029277f8077d4537489b358ce7f10d59ecc2Daniel Mack# - JAVA_OPTS Java options (e.g. for JVM memory increase view
fe8d029277f8077d4537489b358ce7f10d59ecc2Daniel Mack# - READ_XML_CONFIGURATION file with read only configuration
${DO} \
${JAVA} \
${JAVA_OPTS} \
${JAVA_CLASSPATH:+-classpath} ${JAVA_CLASSPATH} \
${MAIN_CLASS} \
${LIST:+-l} \
${DELETE:+-d} \
if [ $# -gt 0 ]
if [ $# -lt 2 ]
if $VERBOSE
if $VERBOSE
while [ $# -gt 0 ]
-i|--input)
DO=echo
VERBOSE=true
-v|--verbose)
VERBOSE=true
-h|--help)
while [ $# -gt 0 ]
-i|--input)
DO=echo
VERBOSE=true
-v|--verbose)
VERBOSE=true
-h|--help)
LIST=true
echo "${PROGNAME} delete <name> [-i|--input <file>] [-o|--output <file>] [-l] [-v|--verbose] [-u|--update] [-d]"
while [ $# -gt 0 ]
-i|--input)
-o|--output)
-u|--update)
-l|--list)
LIST=true
DO=echo
VERBOSE=true
-v|--verbose)
VERBOSE=true
-h|--help)
DELETE=true
echo "${PROGNAME} add <name> <pattern> [-i|--input <file>] [-o|--output <file>] [-l] [-v|--verbose] [-u|--update] [-d]"
while [ $# -gt 0 ]
-i|--input)
-o|--output)
-p|--parent)
-u|--update)
-l|--list)
LIST=true
DO=echo
VERBOSE=true
-v|--verbose)
VERBOSE=true
-h|--help)
unset NAME
unset PATTERN
unset PARENT
unset DELETE
unset MATCH
unset LIST
Linux:*)
if [ -f /etc/alternatives/java ]
add)
list)
help)