opengrok.sh revision 2e3888b9e322264fa8a5bd5c8b52df231f2eeded
cd348e325366620fe047edcc849e3c9424828599Peter Bray# CDDL HEADER START
cd348e325366620fe047edcc849e3c9424828599Peter Bray# The contents of this file are subject to the terms of the
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# Common Development and Distribution License (the "License").
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# You may not use this file except in compliance with the License.
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray# See the License for the specific language governing permissions
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# and limitations under the License.
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# When distributing Covered Code, include this CDDL HEADER in each
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray# If applicable, add the following below this CDDL HEADER, with the
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray# fields enclosed by brackets "[]" replaced with your own identifying
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# information: Portions Copyright [yyyy] [name of copyright owner]
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# CDDL HEADER END
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# Use is subject to license terms.
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# The root direction of this opengrok installation
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# How often should the source be updated (in seconds)
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# The Java version to use
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray# The path needed
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# The name of the various SCM tools to use
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# CVS=/usr/bin/cvs; export CVS
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# SUBVERSION=/usr/bin/svn; export SUBVERSION
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# MERCURIAL=/usr/bin/hg; export MERCURIAL
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# The name of the web servers that should be notified with the information
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# of the active configuration to use. Specify them with hostname:port and
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# separate multiple hosts by space.
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# WEBSERVERS="server1:2424 server2:2424"
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# WEBSERVERS="localhost:2424"
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# The email address to send an email if the source update fails, or a fatal
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# error occurs while the index database is beeing updated.
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir KotalADMINISTRATOR=root@localhost; export ADMINISTRATOR
6c8465e3b4611cb632cba9b0572e3e3737c8c341Vladimir Kotal# The current version of the Mercurial log parser expects C date format.
c577d2f6c082eaff9af5bc997d12f3d3bcef537cPeter Bray# Additional directories to look for libraries in.
d2a02e104622a26dd90fa88f4f17188f2039809fPeter Bray# (Subversions java binding etc)
0ca9a2c194523c517c3aafe5758e217ac88d6baaLubos KoscoLD_LIBRARY_PATH=/opt/csw/lib/svn; export LD_LIBRARY_PATH
43dac746513591adbd09bc4f417feb385f4fd87eVladimir Kotal echo "Usage: $0 {start|stop}"