OpenGrok is a code search tool from Oracle.
Questions tagged [opengrok]
78 questions
3
votes
3 answers
How to restrain access to OpenGrok results?
We created an OpenGrok server and indexed our sources. The problem is that the SCM we use (here, Perforce, but I guess this does not apply to Perforce only as permission at file/folder level is widely used) restrains access per file or folder, and…

Emmanuel
- 13,935
- 12
- 50
- 72
3
votes
1 answer
Opengrok indexing failure
I have gone through so many posts and articles , but not able to find the solution.
I am facing the problem when creating index.
Error :-
-bash-3.2$ ./OpenGrok index
Loading the default instance configuration ...
12:01:17 SEVERE: An error occurred…

JDGuide
- 6,239
- 12
- 46
- 64
3
votes
3 answers
Multiple projects with 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…

Kiffin
- 1,048
- 1
- 15
- 21
3
votes
1 answer
Avoid temporary 404 errors during deployment with tomcat
Every time I copy OpenGrok/dist/source.war to /var/tomcat/webapps/, the tomcat generates blank error pages with 404 Not Found errors to my users, during a couple of seconds immediately after such copying.
HTTP/1.1 404 Not Found
Server:…

cnst
- 25,870
- 6
- 90
- 122
3
votes
1 answer
Can not get history and Annotate works on opengrok
I just follow the steps here:
http://www.hierax.org/2009/10/opengrok-on-ubuntu-w-tomcat6.html
And get opengrok works with index searching but history and annotate did not work.
Specifically, when viewing a file, the "Home", "History", "Annotate",…

Carter Chen
- 39
- 2
3
votes
1 answer
PHP written alternative to OpenGrok
Is there an equivalent of opengrok or any code indexer tool with a php frontend ?
Thanks!

Zatla00
- 419
- 3
- 17
2
votes
1 answer
Opengrok cannot escape anchors on full search
I am using opengrok at work, trying to match certain anchors in the codebase using regular expressions
From opengrok documentation:
Escaping special characters: Opengrok supports escaping special
characters that are part of the query syntax.…

Oussama Ben Ghorbel
- 2,132
- 4
- 17
- 34
2
votes
1 answer
opengrock file path search now needs a quoted value
We just upgraded from opengrok-0.11.1 to opengrok-1.0 to allow access to the history and annotations etc.
However many search strings now need quoted. We used to be able to search for a file path containing unquoted hosts.txt which now finds…

ferg
- 196
- 1
- 11
2
votes
1 answer
Is there an Full Text Search Limit in opengrok?
0.12.1.5 with a large Git Project with more than 700 Repos.
When performing a Full Text Search in about 50 Repos it works very well.
Beyond a certain number of Repos, opengrok just shows a white page, when clicking Search and no request nor log…

uro
- 21
- 1
2
votes
3 answers
How to update OpenGrok indices
The OpenGrok wrapper script has an update option, but when I run it without any options (as echoed in the usage), I get
Loading the default instance configuration ...
FATAL ERROR: OpenGrok Source Path /var/opengrok/src doesn't exist - Aborting!
I…

bsravanin
- 1,803
- 1
- 14
- 15
2
votes
2 answers
opengrok Index database(s) not found
I'm using OpenGrok and get an issue when I try to search on a project.
I get the error "Index database(s) not found..."
It's a bit weird, because there are other projects on this instance and they work perfectly. It's only with the last project in…

bryce
- 842
- 11
- 35
2
votes
2 answers
Multiple indexes in Opengrok
How can we maintain two indexes for source code browsing with Opengrok? Normally opengrok provides option to index a single source tree. The website http://androidxref.com maintains multiple indexes corresponding to different versions of android. I…

Paramanand Singh
- 153
- 2
- 8
2
votes
0 answers
Facing problems in Setup for OpenGrok
I am trying to install OpenGrok in my ubuntu. I was following the steps described here
http://blog.vinceliu.com/2008/06/installing-opengrok-on-ubuntu-linux.html
but at one point I got stuck, when I giving following command
"java -Xmx1524m -jar…

Rahul
- 1,607
- 3
- 23
- 41
1
vote
0 answers
List references to a C symbol given the file where it's defined
I have a project with files foo1.h and foo2.h, both of which declare a function int foo();.
The project contains a much bigger set of C files, where some of them include foo1.h or foo2.h and use foo().
Is there a way to list the references to a…

Javier Ron Arteaga
- 11
- 4
1
vote
1 answer
Is it possible to show ipynb file in Opengrok?
I want to show the ipynb file to Opengrok Service, but the ipynb file shows XML or JSON format. This is not readable.
Is there a method to show ipynb file in a readable format?

linuxias
- 306
- 2
- 10