On 10/03/12 10:51, Appu Mathew wrote:
Hi

First of all, thank you for all the help you are providing here. For all
the patience, and replies :)

When i create the empty file in my snapshot view and i run the index command
./OpenGrok index<dir>/apjoseph-snapsht/ it produces the following
warnings... These were not there when the view.dat file was not there .
Also, the .view.dat file is in the directory apjoseph-snapshot and not in
any of its subdirectory.

Cli
===============
Loading the default instance configuration ...
14:09:04 WARNING: ClearCaseRepository not working (missing binaries?):
<dir>/apjoseph-snapsht
14:09:04 WARNING: ClearCaseRepository not working (missing binaries?):
<dir>/apjoseph-snapsht
14:09:04 WARNING: Skipping creation of historycache of ClearCaseRepository
repository in<dir>/apjoseph-snapsht: Missing SCM dependencies?

The last message means that cleartool has not run correctly in isWorking() method. I see this in the code of ClearCaseRepository.java:

323    public boolean isWorking() {
324        if (working == null) {
325            ensureCommand(CMD_PROPERTY_KEY, CMD_FALLBACK);
326            working = checkCmd(cmd, "���version");
327        }
328        return working.booleanValue();
329    }

The non-ASCII characters before 'version' look suspicious. It should be '-version' I believe.

I filed a bug:
  http://defect.opensolaris.org/bz/show_bug.cgi?id=19242

Could someone please confirm that 'cleartool -version' does the right thing ? (i.e. displays the version and exits with exit code 0)

Once confirmed, I will push the fix for the bug.

Thanks,


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

Reply via email to