1 #!/bin/sh 2 3 PROGDIR=`dirname $0` 4 5 # REQUIRED The root of your source tree 6 SRC_ROOT=/your/src/tree/ 7 8 # REQUIRED The directory where the data files like 9 # Lucene index and hypertext cross-references are stored 10 DATA_ROOT=/var/tmp/opengrok_data 11 12 # OPTIONAL A tab separated files that contains small 13 # descriptions for paths in the source tree 14 PATH_DESC=${PROGDIR}/paths.tsv 15 16 # A modern Exubrant Ctags program 17 # from http://ctags.sf.net 18 EXUB_CTAGS=/usr/local/bin/ctags 19 20 java -jar ${PROGDIR}/opengrok.jar -q -c ${EXUB_CTAGS} -s ${SRC_ROOT} -d ${DATA_ROOT} 21 22 # OPTIONAL 23 java -classpath ${PROGDIR}/opengrok.jar org.opensolaris.opengrok.web.EftarFile ${PATH_DESC} ${DATA_ROOT}/index/dtags.eftar 24