Hi, After spending a few days a few months ago getting xref/history/annotate working in both my SVN and my git repositories ( http://opensolaris.org/jive/thread.jspa?threadID=134223&tstart=15 ), I've noticed that I'm no longer able to access History or Annotate for my git repositories.
I'm seeing this in my catalina.out: WARNING: GitRepository not working (missing binaries?): /path/to/gitrepository WARNING: GitRepository not working (missing binaries?): /path/to/another_gitrepository The only thing I've done is to slightly reorganize my git repositories - the old structure looked like: /data/opengrok/src/git_repo_1 /data/opengrok/src/git_repo_2 /data/opengrok/src/git_repo_3 /data/opengrok/src/git_repo_4 etc And now it looks like this: /data/opengrok/src/project_A/git_repo_1 /data/opengrok/src/project_A/git_repo_2 /data/opengrok/src/project_B/git_repo_1 /data/opengrok/src/project_B/git_repo_2 etc All the repositories still seem to show up in the xref view; I've played a little with the $OPENGROK_SCAN_DEPTH environment variable, but didn't see much difference. I've not touched my invocation of opengrok, so I've still got "-r on" in my options. I've got the git binary's location in the PATH of the tomcat user (exporting PATH in startup.sh), so I'm a little stuck as to where to turn next. The invocation of the indexer looks like this, if it helps: /site/apps/jdk1.6.0_20/bin/java -Xmx2048m -Dorg.opensolaris.opengrok.history.cvs=/usr/bin/cvs -Dorg.opensolaris.opengrok.history.Subversion=/site/apps/subversion/bin/svn -Dorg.opensolaris.opengrok.history.git=/site/apps/git/bin/git -Djava.util.logging.config.file=/data/opengrok/logging.properties -jar /site/apps/opengrok/opengrok.jar -P -v -c /usr/bin/ctags -W /data/opengrok/etc/configuration.xml -U localhost:2424 -s /data/opengrok/src -d /data/opengrok/data -H -S -r on Scanning for repositories... Done searching for repositories (1s) Writing configuration to /data/opengrok/etc/configuration.xml And the configuration.xml section for an example affected git repository: <void method="add"> <object class="org.opensolaris.opengrok.history.RepositoryInfo"> <void property="datePattern"> <string>EEE MMM dd hh:mm:ss yyyy ZZZZ</string> </void> <void property="directoryName"> <string>/data/opengrok/src/sandbox/foo</string> </void> <void property="type"> <string>git</string> </void> <void property="working"> <boolean>true</boolean> </void> </object> </void> Where else should I look? -- This message posted from opensolaris.org _______________________________________________ opengrok-discuss mailing list opengrok-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss