[opengrok] limit projects to index

Trond Norbye Trond.Norbye at Sun.COM
Mon Mar 31 22:03:17 PDT 2008


On Mar 31, 2008, at 11:40 PM, Michael Sampson wrote:
> I have some projects with source code that does not change often. I  
> have other projects whose source code changes every day. I don't  
> want to spend time reindexing all projects everyday. When doing an  
> index is there a way to just do certain projects?

Pass the directories as options to OpenGrok. To just update the source  
in the toplevel directory subtree, execute something like:

ex: java -jar opengrok.jar -R configuration.xml subtree

Please note that OpenGrok performs incremental updates, so it will  
only update "modified" files.


Trond




More information about the opengrok-discuss mailing list