Hi Knut, The last argument ("") does not have any difference in the o/p for a particular directory in the VOB.
However, this command fails from the vobs directory. You need to be inside the VOB tag directory to run this command. I think this is the reason why OpenGrok is also cribbing. /view/opengrok_tcent.81_latest/vobs 175% cleartool lshistory -dir -fmt "%e\n%Nd\n%Fu (%u)\n%Vn\n%Nc\n.\n" . cleartool: Error: Not an object in a vob: ".". Regards, Sachin -Help save trees by saving paper - do you really need to print this email?? From: Knut.Hatlen at Sun.COM [mailto:knut.hat...@sun.com] Sent: Monday, March 29, 2010 1:59 PM To: opengrok-discuss at opensolaris.org; Malesha, Sachin Subject: Re: [opengrok] ClearCase History not working with OpenGrok 0.8.1 On 03/26/10 04:23 PM, Malesha, Sachin wrote: Hi, ? I have installed the OpenGrok 0.8.1 package on Solaris 10 with ClearCase V7.1 installed. ? I have installed the SUNWjavadb and started it via "$JAVA_HOME/bin/java -Dderby.system.home=$DATA_ROOT/derby -jar /opt/SUNWjavadb/lib/derbynet.jar start". ? I am indexing using the below command: /usr/jdk/instances/jdk1.6.0/bin/java -Xmx2048m -Dorg.opensolaris.opengrok.history.ClearCase=cleartool -Djava.util.logging.convar/opengrok/logging.properties -jar /usr/opengrok/bin/opengrok.jar -R /var/opengrok/etc/configuration.xml -U localhost:2424 ? My configuration.xml is as below. My source root is /view/opengrok_tcent.81_latest/vobs, where opengrok_tcent.81_latest is Dynamic View. Hi Sachin, I don't have ClearCase myself to test, but does it work to get the history for that directory from the command line? I think the command OpenGrok uses here is (executed from the vobs directory): cleartool lshistory -dir -fmt "%e\n%Nd\n%Fu (%u)\n%Vn\n%Nc\n.\n" "" Does this command work in your environment? The last argument ("") looks strange, but it looks like that's what we use when we obtain the history for the root of the repository. Perhaps we need to change that to "." or just remove that argument? (I'm just guessing that the above command is what's being executed. I've filed http://defect.opensolaris.org/bz/show_bug.cgi?id=15391 to get better logging of what's going on.) -- Knut Anders