ClearCase repositories not detected #4351
Replies: 6 comments
-
Some observations: As you noticed, a directory needs to be identified as a Clearcase repository first before history cache can be generated for it. There was an attempt to execute the For a directory to be detected as Clearcase repository one of the conditions needs to be satisfied: |
Beta Was this translation helpful? Give feedback.
-
Also, similar thing as with #3576: if the |
Beta Was this translation helpful? Give feedback.
-
log of cleartool command: 2021-05-07 05:30:19.655+0530 FINE t20 Statistics.logIt: Finished command [cleartool -version] in directory /home/webapp with exit code 0 (took 211 ms) and if I run cleartool commands in the terminal, it works fine. |
Beta Was this translation helpful? Give feedback.
-
Looks like the |
Beta Was this translation helpful? Give feedback.
-
We are using clearcase version 9 and its a DYNAMIC VIEW not SNAPSHOT VIEW. (Linux System) |
Beta Was this translation helpful? Give feedback.
-
I never worked with Clearcase before so this is something you will have to figure out. |
Beta Was this translation helpful? Give feedback.
-
I have both perforce as well as ClearCase repositories in my OpenGrok. There are total 12 repo (8 perforce and 4 clearcase)
Everything works fine with perforce, but 4 clearcase repositories are not getting detected and the historycache is not generating for the same, hence History & Annotate links are not working for Clearcase repositories.
Indexing command:
${JAVA} ${JAVA_OPTS} -Djava.util.logging.config.file=${PROGDIR}/etc/logging.properties
-jar ${PROGDIR}/dist/lib/opengrok.jar
-c /usr/local/bin/ctags
-s ${PROGDIR}/src -d ${PROGDIR}/data -H -P -S -G
-W ${PROGDIR}/etc/configuration.xml -U http://host:8080/opengrok >> ${LOG_FILE} 2> ${LOG_FILE}.err
OpenGrok log (not scanning 4 clearcase repositories):
Done scanning for repositories, found 8 repositories
OpenGrok log (clearcase commands):
Executing command [cleartool -version] in directory /home/webapp
Executing command [cleartool lsvob -s] in directory /home/webapp
Catalina.out log:
org.opengrok.indexer.util.Statistics.logIt done invalidating 8 repositories (took 4.315 seconds) [no clearcase repo was invalidated]
org.opengrok.suggest.SuggesterProjectData.initFields Fields [hist] will be ignored because they were not found in index directory /path/to/index/dir/ [dir is present in the path]
I am using OpenGrok 1.7.2,
Apache Tomcat 10.0.5,
JDK 11.0.7,
Linux/unix system.
Beta Was this translation helpful? Give feedback.
All reactions