Try indexing using OpenGrok(http://src.opensolaris.org/source/xref/opengrok/trunk/OpenGrok) script (you can try to follow http://hub.opensolaris.org/bin/view/Project+opengrok/installdescription ) - it has some sane defaults that make svn checkout indexed with history I didn't try on FreeBSD, but using env variables likeEXUBERANT_CTAGS or OPENGROK_TOMCAT_BASE (check head of above script) you should be able to make it work on FreeBSD, too.

I would be very happy, if you could add some sane defaults to make the script work on FreeBSD out of box & send the patch back to us :)

xing the fingers
Lubos

On 23.12.2011 20:02, Jason Helfman wrote:
Hi,

I have installed OpenGrok on FreeBSD, and it is working great. I am curious though how I can generate a history index. I keep using -h or -H switches,
however the history index is not being created.

Here is the command line I am using.

opengrok -d /var/tmp/opengrok_data -s /usr/local/opengrok/source -H

My svn repository is checked out under /usr/local/opengrok/source.

Here is my configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<java version="1.6.0" class="java.beans.XMLDecoder">
<object class="org.opensolaris.opengrok.configuration.Configuration">
<void property="ctags">
<string>/usr/local/bin/exctags</string>
</void>
<void property="dataRoot">
<string>/var/tmp/opengrok_data</string>
</void>
<void property="sourceRoot">
<string>/usr/local/opengrok/source</string>
</void>
</object>
</java>

Additionally, I am trying to get my paths.tsv file to work, but not sure how
to get that integrated.

Any help would greatly be appreciated.
Thanks!


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

Reply via email to