well try reindexing using OpenGrok script, or check at least options we have there, since I am quite sure those work for almost all kinds of repos (there is a bug with svn certificate or user not logged on to cvs/svn which Vlad pointed out - user has to be logged on from container too - so su - webservd of whoever is owner of your webapp container and cvs log / svn log in there too !)

http://src.opensolaris.org/source/xref/opengrok/trunk/OpenGrok#669

if you do DO=echo ./OpenGrok
it can just print what will be done without doing anything

xing the fingers
L

On 12.1.2011 22:45, Don Fike wrote:

I added an export PATH to my Tomcat6.sh startup script.
For the CVS repository both History and Annotate are now
links, but don't work.  History returns;

Problem: Failed to get history for: "/path/file.c" Exit code: 1

The SVN repositories now have Annotate as a link but not History.
However selecting Annotate the browser just waits and never returns.
So I think my issues are in part with my environment.

Thanks,

On 1/12/2011 4:14 PM, Lubos Kosco wrote:

The other option is to try out OpenGrok script which is bundled and
should have most of options like you do, ev. you set up some OPENGROK_
options to modify what you want ...

also your path has to have cvs and svn (even for webapp container)

hmm?
Lubos

On 12.1.2011 20:24, Trond Norbye wrote:
On 12. jan. 2011, at 20.21, Don Fike wrote:

This is my configuration generation command line now;

${JAVA} ${JAVA_OPTS} ${PROPERTIES} ${LOGGER} -jar
${PROGDIR}/opengrok.jar -a on -c ${EXUB_CTAGS} -d ${DATA_ROOT} -D -H
-O on -p /project/ -W ${CONFIG_FILE} -s ${SRC_ROOT} -S -v -w
/projectgrok/

I restarted the webapp, even added -S to my index generation command
line, and I'm still not seeing History or Annotate as active links.
Will this work as files are updated? Or am I still missing something?

COuld you send me the configuration file?

CHeers,

Trond


Thanks,

Don

On 1/12/2011 11:40 AM, Trond Norbye wrote:
You should add -S to the command line when you generate the config
file...

Trond

Sent from my iPhone

On 12. jan. 2011, at 17:06, Don Fike<f...@eecs.utk.edu> wrote:

I have sevral OpenGrok projects running, a few SVN and one CVS.
On all installations History and Annotate are not links. Is there a
missing flag etc. that I need to activate these.
I'm using the 1.0 release, and this is my index command;

${JAVA} ${JAVA_OPTS} ${PROPERTIES} ${LOGGER} -jar
${PROGDIR}/opengrok.jar -a on -c ${EXUB_CTAGS} -d ${DATA_ROOT} -D
-H -O on -p /project/ -R ${CONFIG_FILE} -s ${SRC_ROOT} -v -w
/projectgrok/

Thanks,

Don







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





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








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

Reply via email to