sreevib wrote: >> let's do this ... >> go & follow the howto on >> http://www.opensolaris.org/os/project/opengrok/manual/ >> installdescription/ >> >> if you find something not clear, or the steps are >> wrong we shall improve >> it so everyone can use it as a simple guide. >> >> What do you think? >> >> I am looking fwd to hear your feedback >> > > I have installed Opengrok on a Windows PC following the manual (at the link > that you mentioned), successfully used the Command line utilities (for > indexing and starting the GUI). > Problems that I have faced until now: > 1. In the CLI run, in the search results, the definitions and symbols do not > appear in bold/italic and purple fonts. Due to this, I am unable to use the > feature "Online cross-reference with syntax high lighting". So I tried to > configure this in Tomcat. >
I guess CLI is only for a quick searches or testing, not really useful for xrefs afaik (might be worthwhile filing RFE) > 2. After the Tomcat configuration, I can see the search page, but the search > fails with the error "Error: Index database not found". Is there a > troubleshooting guide available? > Afaik there is no troubleshooting guide. But simply said you need to generate indexes and .xml file you don't even need to modify source.war in worst case, but just deploy the stock one to tomcat Then you can simply "teach" the webapplication about config with this "simple" command: java -jar ${PROGDIR}/opengrok.jar -U "localhost:2424" -R ${DATA_ROOT}/configuration.xml -n It should say something that configuration was updated and webapp should work properly ... the only problem is that after restart of tomcat you have to do it again, which can be improved by just pointing out to proper .xml file in web.xml of the webapp (which doesn't work for you for some reason). hmm, try above command (fix paths ) and let me know how it goes L > Once I resolve this error and get Opengrok working, I can mention which steps > in the manual can be improved. > > > This message posted from opensolaris.org > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss >