Raghu-Gmail <raghu.se...@gmail.com> writes:

> Hi,
>     I have a opengrok setup on my laptop and it works fine.    The
> opengrok directory is at /var/opengrok (src, data, etc, log are under
> /var/opengrok)
>     Now, I have a usb storage in which I have opengrok folder with
> other set of projects. So, the usb storage also has the directory
> structure as <PATH>/opengrok/src, <PATH>/opengrok/etc and so on.  The
> "index" was created on the usb storage by creating a softlink at
> /var/opengrok and pointing it to <PATH>/opengrok/
>
>     The problem now is, if I create a softlink now at /var/opengrok so
> that it points to <PATH>/opengrok with the usb storage mounted,
> opengrok is not able to look at the projects in usb storage.  I get
> the error: "The source root specified in your configuration does not
> point to a valid directory! Please configure your webapp"

Hi Raghu,

Does it work if you pass "-N /var/opengrok/src" to the indexer? (I'm not
sure if it works for the case where the source root itself is a symlink,
but it's worth a try.)

There's some discussion about the -N option in these bug reports:

https://defect.opensolaris.org/bz/show_bug.cgi?id=15961
https://defect.opensolaris.org/bz/show_bug.cgi?id=16735

-- 
Knut Anders
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to