Skip to content

Instantly share code, notes, and snippets.

@d3ep4k
Created October 31, 2018 13:19
Show Gist options
  • Select an option

  • Save d3ep4k/dcaf83e31b350ec1402d2f5c3d10d78e to your computer and use it in GitHub Desktop.

Select an option

Save d3ep4k/dcaf83e31b350ec1402d2f5c3d10d78e to your computer and use it in GitHub Desktop.

Download opengrok-1.0

https://github.com/oracle/opengrok/releases/tag/1.0

Download ctags

http://ctags.sourceforge.net/

Run to produce the configuration.xml

cd D:\Software\opengrok-1.0
java -jar lib\opengrok.jar -W .\configuration.xml -c D:\Software\ctags58\ctags.exe  -P -S -v -s D:\SOURCE_CODE -d .\grokdata

Setup Webapp

Copy D:\Software\opengrok-1.0\lib\source.war to tomcat\webapps

Change configuration parameter in web.xml

 <context-param>
    <description>Full path to the configuration file where OpenGrok can read its configuration</description>
    <param-name>CONFIGURATION</param-name>
    <param-value>D:\Software\opengrok-1.0\configuration.xml</param-value>
  </context-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment