search.jsp has a bug int he logicx. it is introduced  in some latest
changesets - I still do not know to review the source changes per changeset
with mercurial :)/
Before this fix, I've got the error "Index database not found:"

following code fixed it for my configuration:

        File root = new File(RuntimeEnvironment.getInstance
().getDataRootFile(),
                            "index");
        if (RuntimeEnvironment.getInstance().hasProjects()) {
            if (project == null) {
                errorMsg = "<b>Error:</b> You must select a project!";
            } else {
               // @moisei: root = new File(root, project); is taken out to
the other else block
            }
        } else {
            root = new File(root, project);
        }


Moisei.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/opengrok-discuss/attachments/20080116/5d4ba13e/attachment.html>

Reply via email to