I'm trying to get OpenGrok up and running for multiple projects, but without 
success. Maybe I'm doing something stupid, but I can't figure it out. I have a 
few questions having to do with the instructions in the example.txt file. Hope 
there's someone out there that can help me.

1. The example talks about subdirectories stage1/{source|data}, 
stage2/{source|data}. If I have three projects called project1, project2, 
project3, what's the directory structure supposed to look like?

2. For starters I have project1 under stage1 one, following the instructions:

$ su - opengrok
$ pwd
/home/opengrok
$ svn checkout http://xxx/svn/packages/project1/trunk stage1/source/project1
$ cp -rp stage1/source/project1/ stage2/source/

Then I'm told to uncomment the line in smf/indexer.sh with ADD_PROJECTS and 
replace '/onnv-gate' with the project selected as default. What does that mean, 
selected as default? Also, in my example would I replace '/onnv-gate' with 
/home/opengrok or /project1?

3. Next, about the configuration.xml file. The example creates one in 
/opengrok/stage1/configuration.xml whereas when editing  WEB-INF/web.xml we 
have /opengrok/configuration.xml?

4. Finally, I deploy the war-file alright. The OpenGrok page appears nicely in 
the browser. However, a search results in the error message:

SRC_ROOT parameter in web.xml does not point to a valid directory! Please 
configure your webapp.

But according to the comments in web.xml I do not need to define it and can use 
CONFIGURATION instead. Looking in configuration.xml above, I see 'dataRoot' and 
'sourceRoot' but no SRC_ROOT.

This is all very confusing and I hope someone can help me.
-- 
This message posted from opensolaris.org

Reply via email to