Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple projects with OpenGrok

Tags:

opengrok

I was just wondering what is the best way to setup and configure OpenGrok for multiple projects, e.g. via a single page and a dropdown list.

While the documentation for a single project is pretty straight-forward, the instructions for setting up a multi-project environment isn't very clear to me.

like image 959
Kiffin Avatar asked Dec 16 '25 14:12

Kiffin


1 Answers

Each directory under SRC_ROOT directory is one project. So create your directory structure should look something like this:

/opengrok
|-- bin
|-- data
`-- source
   |--project1
   |--project2
   `--project3

Then update your index, in this step the configuration.xml file will be updated and each directory under SRC_ROOT (or opengrok/source) will be considered to be a project.

like image 52
Ivo Bosticky Avatar answered Dec 19 '25 05:12

Ivo Bosticky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!