| Summary: | Making MAIN_CLASS of opengrok replacable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Masatake YAMATO <yamato> | ||||
| Component: | opengrok | Assignee: | Lubomir Rintel <lkundrak> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | lkundrak, mat.booth | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-02 10:10:10 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 This package was retired: http://pkgs.fedoraproject.org/cgit/opengrok.git/tree/dead.package |
Created attachment 817392 [details] A patch introduces OPENGROK_MAIN_CLASS environment variable Description of problem: This is not a bug report. This is a request to merge a patch. opengrok.jar provides a class named org.opensolaris.opengrok.search.Search for searching from commandline. However, opengrok command shipped as part of fedora doesn't provide an interface for searching. Because org.opensolaris.opengrok.index.Indexer class is hardcoded in the command, the command can be used for indexing only through the command is useful for harness. A patch attached to this post introduces OPENGROK_MAIN_CLASS environment variable. With the variable you can use opengrok command for searching like: $ export OPENGROK_MAIN_CLASS=org.opensolaris.opengrok.search.Search $ opengrok -R CONFFILE -f PATTERN