0

I'm not sure how to use the --symlink command in OpenGrok, so I'm asking.

OpenGrok's source root folder is '/opengrok/src'.

In this folder, I created a symbolic link file with the following command.

ln -s /home/A/workspace/tmp tmp

And I did indexing with the following command.

java -Djava.util.logging.config.file=/opengrok/etc/logging.properties -jar /opengrok/dist/lib/opengrok.jar -c /usr/local/bin/ctags -s /opengrok/src -d /opengrok/data -P -S -W /opengrok/etc/configuration.xml  --symlink /opengrok/src/tmp -U http://localhost:8080/source

When I connect to localhost/source, the tmp file is displayed, but when I click it, the files in tmp are not displayed and the following error message is displayed.

Error: File not found! The requested resource is not available. Resource lacks history info. Was remote SCM side up when indexing occurred? Cleanup history cache dir(or just the .gz for the file or db record) and rerun indexer making sure remote side will respond during indexing.

How can I access and view the files in tmp using OpenGrok?

0 Answers0