tomcat - opengrok: HTTP Status 404 - /source/s when trying to open .cpp file via an xref -
suppose i'm looking @ .cpp file's source code in web browser. now, want review .h file included #include in cpp. i'm clicking on header's file name , instead of browsing content i'm getting following error:
http status 404 - /source/s type status report message /source/s description requested resource not available. apache tomcat/7.0.67
i suspect may related opengrok's -w command line switch. switch says: "context of webapp. default /source. if specify different name, make sure rename source.war name. full reindex needed if changed."
cannot understand mean.
i installed opengrok manually: unpacked source.war c:\program files (x86)\apache software foundation\tomcat 7.0\webapps\myapp , sources on drive d:\myapp. generated grok data file in c:\opengrok.
what path must pass -w switch make work?
thanks.
https://github.com/opengrok/opengrok/issues/1086 use opengrok_webapp_context hth
Comments
Post a Comment