OpenGrok | usable source code search and cross reference engine

 by   Goyaka Java Version: Current License: Non-SPDX

kandi X-RAY | OpenGrok Summary

kandi X-RAY | OpenGrok Summary

OpenGrok is a Java library. OpenGrok has no bugs, it has no vulnerabilities, it has build file available and it has low support. However OpenGrok has a Non-SPDX License. You can download it from GitHub.

OpenGrok is a fast and usable source code search and cross reference engine, written in Java. It helps you search, cross-reference and navigate your source tree. It can understand various program file formats and version control histories like SCCS, RCS, CVS, Subversion and Mercurial. OpenGrok is the tool used for the OpenSolaris Source Browser.

            kandi-support Support

              OpenGrok has a low active ecosystem.
              It has 4 star(s) with 2 fork(s). There are 3 watchers for this library.
              It had no major release in the last 6 months.
              OpenGrok has no issues reported. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of OpenGrok is current.

            kandi-Quality Quality

              OpenGrok has 0 bugs and 0 code smells.

            kandi-Security Security

              OpenGrok has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              OpenGrok code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              OpenGrok has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              OpenGrok releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 37704 lines of code, 2305 functions and 345 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed OpenGrok and discovered the below as its top functions. This is intended to give you an instant insight into OpenGrok implemented functionality, and help decide if they suit your requirements.
            • Entry point for testing
            • Prepare indexer
            • List tokens
            • Search files with a depth limit
            • Initialize the form components
            • Performs a reconnect
            • Update the OpenGroovyConfiguration object
            • Update the update btn attributes
            • Scan the given file and revision
            • Annotate the specified file with the specified revision
            • Test program
            • Handle a notification
            • Main entry point
            • Process the hg log
            • Sets directory
            • Computes the difference between the original sequence and the original sequence
            • Formats a log record
            • Annotate the specified file and revision
            • Annotation on a file
            • Format log record
            • Handle a GET request
            • Print results in HTML format
            • Reads data from an input stream
            • Process the output
            • Runs the indexer
            • Writes a symbol
            Get all kandi verified functions for this library.

            OpenGrok Key Features

            No Key Features are available at this moment for OpenGrok.

            OpenGrok Examples and Code Snippets

            No Code Snippets are available at this moment for OpenGrok.

            Community Discussions


            Trigger event (e.g. via jQuery) when handler accesses originalEvent
            Asked 2021-Dec-08 at 16:52

            I'm trying to trigger the propertychange event on an input field for a bookmarklet (the field is OpenGrok's search field).

            The handler for that field is defined like this (this is the de-minified OpenGrok source):



            Answered 2021-Dec-08 at 16:52

            Found it, it's actually quite simple when one knows jQuery better:



            Opengrok cannot escape anchors on full search
            Asked 2021-Nov-18 at 17:12

            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. Current special characters are: + - && || ! ( ) { } [ ] ^ " ~ * ? : \ /

            Since anchors are not special characters my query is as follow:

            lucene fails to parse my query for some reason:

            Now when I escape both anchors /\*/, it does not fail but I get 0 results. There are thousands of * text in our codebase. What am I doing wrong?



            Answered 2021-Nov-18 at 17:12

            The "<" and ">" characters are not indexed by Lucene (they're not in the index), so they're not searchable.

            See more related info here.



            "No maps application installed , Please contact your car manufacturer" message is showing up in Automotive Android?
            Asked 2021-Nov-11 at 11:30

            As google android maps not currently present by default with Android Auto , below screen is displayed , Android Auto home page

            Which is shown from MapsPlaceholderActivity I developed Maps application using HERE SDK, I am seeing same behavior even I install my Maps application . Do I need to change anything at android framework level ? or any api or attribute that I missed from application level ? I searched in opengrok , I couldn't able to find which app is calling MapsPlaceholderActivity and on what basis ? Thankyou.



            Answered 2021-Nov-11 at 11:30

            After analyzing CarLauncherActivity , I understood, app with category as APP_MAPS can replace MapsPlaceHolder .



            OpenGrok And Tomcat 404 not found
            Asked 2021-Jun-30 at 16:23

            I am trying to setup OpenGrok in fresh Linux environment. I have followed the instructions from:

            Once I setup OpenGrok and Tomcat, I have copied the source.war from Opengrok to Tomcat/webapps. After copying when I tried to connect http://localhost:8080/source it always give me this 404 not found error:



            Answered 2021-Jun-30 at 16:23

            On the installation page you cite, under requirements you find:

            A servlet container like GlassFish or Tomcat 10.0 or later

            (emphasis mine).

            source.war is a Jakarta EE 9 application, it will not work on Tomcat 9.0. Since version 1.6.0 OpenGrok requires a Servlet 5.0 container.



            Is openJdk upgrading to 8u292 break my aosp build system?
            Asked 2021-May-12 at 02:25

            Software environment:

            • Ubuntu 20.04 LTS server;
            • Android AOSP 8.0;
            • OpenJDK 8;

            It works very well util yesterday I upgraded my OpenJDK from 8u282 to 8u292. Now the broken building log says:



            Answered 2021-Apr-30 at 09:04

            I think that there is a good chance that it is this:

            Basically, they have turned off (default) support for TLS 1.0 and 1.1, starting in 8u291. These versions of TLS are old, insecure and deprecated; see

            This is mentioned in the 8u291 release notes.

            My advice would be to find out why your build system is not using TLS 1.2 or later. Then upgrade / fix that.

            You can test if this is the problem by running curl with the --tlsv1.2 option.



            How to ignore files and directories in opengrok used from docker?
            Asked 2021-Apr-30 at 12:41

            This is how I was doing that in some very old version of Opengrok:



            Answered 2021-Apr-30 at 10:01

            Apparently OPENGROK_IGNORE_PATTERNS was once again changed. This time to INDEXER_OPT which works.



            How to run opengrok in docker?
            Asked 2021-Apr-29 at 13:02

            I'm trying to follow this tutorial:

            This is what I did:



            Answered 2021-Apr-29 at 13:02

            I've solved this 5 minutes after I've posted the question ... but I believe this might be useful for someone in future because it's quite a trap, so I will leave it. There was nothing wrong with opengrok tutorial, the problem was inside my SmallCppProject. It had .git directory and inside that directory there were relative symlinks to repo. Those symlinks were broken because when I've copied the project the directory was changed. Apparently this was a problem because after removing .git directory everything is fine now. Although I think opengrok should be "prepared" for such things and ignore broken links.

            Edit: Actually this was not about broken symlinks, it's about .git directory in general, so there is clearly something wrong with latest opengrok image for docker. Current version is 1.7.2 and in general if I just put sources then opengrok works, however if I add those sources to git then opengrok can't inititalize.



            Auto pull git repositories for opengrok indexing
            Asked 2020-Aug-28 at 13:19

            I've installed opengrok from a docker image on an Ubuntu server. Inside /var/opengrok/src, I cloned the desired repositories. I'd like to auto pull and auto index changes periodically. I'm not at ease with cron, is there a way to tell opengrok to pull before indexing?

            • /var/opengrok/
              • docker-compose.yml
              • etc/
              • data/
              • src/
                • repo1-master/ <- need to git pull
                • repo1-dev/ <- need to git pull
                • repo2-master/ <- need to git pull
                • repo2-dev/ <- need to git pull


            Answered 2020-Aug-28 at 13:19

            I finally wrote a cron task to run this script:




            /node_modules/http-proxy/lib/http-proxy/index.js:120; Error: socket hang up
            Asked 2020-Apr-03 at 20:58

            I'm running expressJS in one of the containers I'm trying to run in docker-compose; When I keep pressing CMD+R to refresh the landing page (Probably 3~4 seconds), it says "Error: socket hang up" and broken. Here is the error



            Answered 2020-Apr-03 at 20:58

            One problem I see with your code is that a request to / will be proxied but also the whole middleware chain will still be executed for the request. This is probably not what you want and could be the reason for ending the tcp-connection before the proxy request has finished processing.

            I recommend using http-proxy-middleware instead of http-proxy when using express as it integrates easily as an express middleware:


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install OpenGrok

            Source base must be available locally for OpenGrok to work efficiently. No changes are required to your source tree. If the code is under source control management (SCM) OpenGrok requires the checked out source tree under SRC_ROOT. It is possible for some SCM systems to use a remote repository (Subversion, CVS), but this is not recommended due to the performance penalty. Special option is needed to enable remote repository support(-r on). Note that OpenGrok ignores symbolic links. Step.1 - Deploy the web application. Second step is to just run the indexing (can take a lot of time). After this is done, indexer automatically attempts to upload newly generated configuration to the web application. Most probably you will not be able to use {Opengrok before this is done. Please change to opengrok directory (can vary on your system). and run, if your SRC_ROOT is prepared under /var/opengrok/src.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone Goyaka/OpenGrok

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries


            by CyC2018


            by Snailclimb


            by MisterBooo


            by spring-projects

            Try Top Libraries by Goyaka


            by GoyakaRuby


            by GoyakaJavaScript


            by GoyakaJavaScript


            by GoyakaRuby