Home | History | Annotate | Download | only in trunk
      1 REM Get the name of the directory this run.bat script is living in.
      2 set PROGDIR=%~dp0
      3 
      4 REM REQUIRED The root of your source tree (upper-case drive
      5 REM letter matters)
      6 set SRC_ROOT=C:\your\source\root
      7 
      8 REM REQUIRED The directory where the data files like Lucene index and
      9 REM hypertext cross-references are stored
     10 set DATA_ROOT=C:\your\data\root
     11 
     12 REM REQUIRED if ctags is not in PATH
     13 REM A modern Exubrant Ctags program
     14 REM from http://ctags.sf.net
     15 set EXUB_CTAGS=C:\ctags\ctags.exe
     16 
     17 REM OPTIONAL 
     18 REM A tab separated file that contains small
     19 REM descriptions for paths in the source tree
     20 set PATH_DESC=%PROGDIR%\paths.tsv
     21 
     22 java -jar %PROGDIR%opengrok.jar -c %EXUB_CTAGS% -s %SRC_ROOT% -d %DATA_ROOT%
     23 
     24 REM OPTIONAL
     25 java -classpath %PROGDIR%opengrok.jar org.opensolaris.opengrok.web.EftarFile %PATH_DESC% %DATA_ROOT%\index\dtags.eftar
     26