OpenGrok revision d280c5e286f5b98be13237f52281ae5afdcf51b9
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# OpenGrok Wrapper (initial setup and cron job updating)
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Supported Operating Systems:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - Solaris 10 (SunOS 5.10)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OpenSolaris (SunOS 5.11)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - Debian (Linux)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Supported Deployment Engines
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - Glassfish
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Supported Environment Variables :
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_NON_INTERACTIVE Suppress Progress and Warnings Messages
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_STANDARD_ENV Run Time Shell Environment (Shell Script)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_CONFIGURATION User Configuration (Shell Script)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Supported Environment Variables for configuring the default setup
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_DISTRIBUTION_BASE Base Directory of the OpenGrok Distribution
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# - OPENGROK_INSTANCE_BASE Base Directory of the OpenGrok User Data Area
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# - EXUBERANT_CTAGS Full Path to Exuberant CTags
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - JAVA_HOME Full Path to Java Installation Root
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_APP_SERVER Application Server ("Tomcat" or "Glassfish")
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_WAR_TARGET_TOMCAT Tomcat Specific WAR Target Directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_WAR_TARGET_GLASSFISH Glassfish Specific WAR Target Directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_WAR_TARGET Fallback WAR Target Directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_TOMCAT_BASE Base Directory for Tomcat (contains webapps)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_GLASSFISH_BASE Base Directory for Glassfish (contains domains)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# - OPENGROK_GLASSFISH_DOMAIN Preferred Glassfish Domain Name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein echo "Usage: ${0} <deploy|update|updateQuietly|updateConfiguration|usage>" 1>&2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein echo " OPENGROK_CONFIGURATION - location of your configuartion" 1>&2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein echo " e.g. $ OPENGROK_CONFIGURATION=/var/opengrok/myog.conf ${0} ... " 1>&2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt echo " See the code for more information on configuration options / variables" 1>&2
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Runtime Configuration
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User# TODO: Handle symlinks correctly (especially in ${0})
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox UserSCRIPT_DIRECTORY="`cd ${SCRIPT_DIRECTORY}; pwd`"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Default Instance Configuration
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # Use the built-in defaults. This section can be copied to its own
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater # file and tailored to your local requirements. Then simply set
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # OPENGROK_CONFIGURATION=/path/to/your/configuration, before using
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # this wrapper. It will save you hand editing in your settings
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # on each new release. A sample cron(1M) entry might look like:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # 15 0 * * * OPENGROK_CONFIGURATION=/pkgs/etc/OpenGrok.sh /pkgs/sbin/OpenGrok updateQuietly
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # Note: It is not really possible to ever provided defaults for
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # these values which will run in every UNIX-like environment.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # So I have provided a set which are functional for a given
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # environment on which you can based you own configuration.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # This has been updated to support more environment variables and
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # operating systems, if you have any reasonably generic
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # improvements please feel free to submit a patch.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt OPENGROK_INSTANCE_BASE="${OPENGROK_INSTANCE_BASE:-/var/opengrok}"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User -f "${SCRIPT_DIRECTORY}/dist/opengrok.jar" -a \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User OPENGROK_DISTRIBUTION_BASE="${SCRIPT_DIRECTORY}/dist"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User LOGGER_CONF_SOURCE="${SCRIPT_DIRECTORY}/conf/${LOGGER_CONFIG_FILE}"
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater OPENGROK_DISTRIBUTION_BASE="${SCRIPT_DIRECTORY}"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User LOGGER_CONF_SOURCE="${OPENGROK_DISTRIBUTION_BASE}/doc/${LOGGER_CONFIG_FILE}"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # (your source code or the root of all repositories)
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User # (for Lucene index and hypertext cross-references)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # This area is rebuilt by "update" / "updateQuietly"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # OPTIONAL: User Provided Source Path to Description Mapping (Tab Separated Value)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # (The user maintained source of the generated EftarFile file)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User PATH_DESC="${OPENGROK_INSTANCE_BASE}/etc/paths.tsv"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # (the configuration used by Web/GUI interfaces)
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews XML_CONFIGURATION="${OPENGROK_INSTANCE_BASE}/etc/configuration.xml"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # TODO: Verify that Logger Configuration is REQUIRED and not OPTIONAL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein LOGGER_CONFIG_PATH="${OPENGROK_INSTANCE_BASE}/${LOGGER_CONFIG_FILE}"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein LOGGER_PROPERTIES="-Djava.util.logging.config.file=${LOGGER_CONFIG_PATH}"
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews # REQUIRED: Java Archive of OpenGrok (Installation Location)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt OPENGROK_JAR="${OPENGROK_DISTRIBUTION_BASE}/opengrok.jar"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # REQUIRED(deploy): Web Archive of OpenGrok (Distribution Location)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # (user building from source code will find this and other key
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # files in the "dist" directory after the build is completed)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein OPENGROK_DIST_WAR="${OPENGROK_DISTRIBUTION_BASE}/source.war"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # REQUIRED: Exuberant CTags (http://ctags.sf.net)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt EXUBERANT_CTAGS="${EXUBERANT_CTAGS:-`FindExuberantCTags`}"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # OPTIONAL: Ignore these patterns as names of files or directories
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # (Every directory in SRC_ROOT is considered a separate project)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # OPTIONAL: Scanning Options (for Mercurial repositories)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # OPTIONAL: Remote Repository Support (CVS or SVN)
852ccdd42a71550c974111b49415204ffeca6573Automatic Updater # (Can be very time demanding, uncomment if needed)
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater # OPTIONAL: Allow Leading Wildcard Searches
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt # OPTIONAL: Increase Maximum Indexed Words Per File
66f25f2ceeb589e67efe7af2413baaa3426b0042Automatic Updater # OPTIONAL: Configuration Address (host:port)
38417cbfb1a328c20b5b723b8584a02c57f88897Automatic Updater # OPTIONAL: Full Path to History Utilities
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # Assumption: We should not set properties to the empty string
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein${HG:+-Dorg.opensolaris.opengrok.history.Mercurial=$HG} \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein${CVS:+-Dorg.opensolaris.opengrok.history.cvs=$CVS} \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein${SVN:+-Dorg.opensolaris.opengrok.history.Subversion=$SVN} \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein${SCCS:+-Dorg.opensolaris.opengrok.history.SCCS=$SCCS} \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # OPTIONAL: Store The History Cache in Java DB (derby),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # instead of file system (in gzipped xml files).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # - derbyclient.jar - See README.txt for more details
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # - Running Derby Server - Defaults to localhost:1527
3a5fe5abf08f16b8d31ab8ee9a788063110ef000Automatic Updater # DELIVERED: An update program for EftarFile
3a5fe5abf08f16b8d31ab8ee9a788063110ef000Automatic Updater # Usage: <class> inputFile [inputFile ...] outputFile
3a5fe5abf08f16b8d31ab8ee9a788063110ef000Automatic Updater # EftarFile == An Extremely Fast Tagged Attribute Read-only File System
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein EFTAR_UPDATE="org.opensolaris.opengrok.web.EftarFile"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # HARDCODED: Generated EftarFile (See web/*.jsp)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein EFTAR_OUTPUT_FILE="${DATA_ROOT}/index/dtags.eftar"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # Be Quiet? (set indirectly by command line arguments in the main program)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Helper Functions - Logging
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews# In general, non-interactive use like cron jobs and automated
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# installation environments should not generate unnecessary
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# progress information or warnings, as usage and configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# will have generally been debugged prior to automation.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Helper Functions - Autodetection of Runtime Environment
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Error "Unable to determine Exuberant CTags command name" \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews SunOS:5.10) javaHome="/usr/jdk/instances/jdk1.6.0" ;;
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # Use this function to determine which environment the deploy the
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # web application function into. Some users (especially
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # developers) will have many deployment environments or will wish
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # to specify directly the application server to deploy to.
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # Either use the environment variable OPENGROK_APP_SERVER or
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User # reimplement this function in your configuration file (as
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # This implementation favours Tomcat, but needs a lot of work,
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # especially if Glassfish is perferrerd or it is under the control
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # Maybe a better implementation would be to call Application
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User # Server specific WAR Directory and see if they exist.
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User if [ -x "/etc/init.d/appserv" -a -d "/var/appserver/domains" ]
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User directory="${domainDirectory}/${OPENGROK_GLASSFISH_DOMAIN}/autodeploy"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User FatalError "Missing Specified Glassfish Domain ${OPENGROK_GLASSFISH_DOMAIN}"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce FatalError "Failed to dynamically determine Glassfish Domain from ${domainDirectory}"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews echo "${domainDirectory}/${firstDomain}/autodeploy"
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater# Implementation
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater# The variable "DO" can usefully be set to "echo" to aid in script debugging
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce # Setup a standard execution environment (if required)
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater OPENGROK_STANDARD_ENV="${OPENGROK_STANDARD_ENV:-/pkgs/sbin/CronExecutionEnvironment.sh}"
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater Progress "Loading ${OPENGROK_STANDARD_ENV} ..."
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # Note: As all functions have been defined by the time this routine
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # is called, your configuration can, if desired, override functions
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # in addition to setting the variables mentioned in the function
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # DefaultInstanceConfiguration(), this maybe useful to override
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # functionality used to determine the default deployment environment
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # find dependencies or validate the configuration, for example.
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce if [ -n "${OPENGROK_CONFIGURATION}" -a -f "${OPENGROK_CONFIGURATION}" ]
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce # Load the Local OpenGrok Configuration Environment
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Progress "Loading the default instance configuration ..."
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce FatalError "Missing Dependent Application - Exuberant CTags"
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User FatalError "OpenGrok Source Path ${SRC_ROOT} doesn't exist"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Warning "OpenGrok Generated Data Path ${DATA_ROOT} doesn't exist"
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater Progress " Attempting to create generated data directory ... "
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater FatalError "OpenGrok Data Path ${DATA_ROOT} doesn't exist"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Warning "OpenGrok Generated Etc Path ${OPENGROK_INSTANCE_BASE}/etc doesn't exist"
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce Progress " Attempting to create generated etc directory ... "
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater ${DO} mkdir -p "${OPENGROK_INSTANCE_BASE}/etc"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce FatalError "OpenGrok Etc Path ${OPENGROK_INSTANCE_BASE}/etc doesn't exist"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce if [ -n "${LOGGER_CONFIG_PATH}" -a ! -f "${LOGGER_CONFIG_PATH}" ]
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Progress " Creating default ${LOGGER_CONFIG_PATH} ... "
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce FatalError "Can't find distribution logging configuration"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User "logging configuration (${LOGGER_CONFIG_PATH})"
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User ${DO} cp "${LOGGER_CONF_SOURCE}" "${LOGGER_CONFIG_PATH}"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein # TODO: Consider automatically setting the logging directory
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User ${SCAN_FOR_REPOSITORY} ${REMOTE_REPOSITORIES} \
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User ${MAX_INDEXED_WORDS} ${SKIN} ${LEADING_WILDCARD} \
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User#? -R ${XML_CONFIGURATION} \
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User StdInvocation -W ${XML_CONFIGURATION} ${WEBAPP_CONFIG_ADDRESS}
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User if [ -n "${PATH_DESC}" -a -s "${PATH_DESC}" ]
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User ${EFTAR_UPDATE} ${PATH_DESC} ${EFTAR_OUTPUT_FILE}
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User ${DO} ${JAVA} ${JAVA_OPTS} -jar ${OPENGROK_JAR} '-?'
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User applicationServer="`FindApplicationServerType`"
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox User Tomcat) warTarget="`DetermineWarDirectoryTomcat`" ;;
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User Glassfish) warTarget="`DetermineWarDirectoryGlassfish`" ;;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein *) FatalError "Unsupported Application Server ${applicationServer}" ;;
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User FatalError "Unable to determine Deployment Directory for ${applicationServer}"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User FatalError "Missing Web Application Archive ${OPENGROK_DIST_WAR}"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User FatalError "Missing Deployment Directory ${warTarget}"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User Progress "Installing ${OPENGROK_DIST_WAR} to ${warTarget} ..."
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User ${DO} cp "${OPENGROK_DIST_WAR}" "${warTarget}/"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User if [ $? != 0 ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein FatalError "Web Application Installation FAILED"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User Progress "Start your application server (${applicationServer}), if it is not already"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Progress "running, or wait until it loads the just installed web application."
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User Progress "OpenGrok should be available on <HOST>:<PORT>/source"
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User Progress " where HOST and PORT are configured in ${applicationServer}."
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User# Main Program
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User if [ -n "${2}" ]