Thanks Trond.
I changed my CVSROOT=/cvsroot and reran run.sh
But still History and Annotate are greyed out.
Do I need to do anything.
Please advise
Pranab

-----Original Message-----
From: Trond.Norbye at Sun.COM [mailto:trond.nor...@sun.com] 
Sent: Thursday, March 26, 2009 3:27 PM
To: Pranab Panda (pkpanda)
Cc: Lubos.Kosco at Sun.COM; opengrok-discuss at opensolaris.org
Subject: Re: [opengrok] CVS history and annotate doesn't work

Pranab Panda (pkpanda) wrote:
> Thanks 
> I have the cvstree from cvs server exported
> To opengrok server and is available on opengrok server
> As /cvsroot. 
>
> I changed my CVSROOT to :local:/cvsroot
>   

Try setting it /cvsroot (remove :local: )

Cheers,

Trond



> Then removed the indexes and reran run.sh
> Redeployed source.war but still not luck.
> History and Annotate are still greyed out.
>
> My run.sh gives the following messages
> ./run.sh
> Scanning for repositories...
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.history.HistoryGuru
> addRepositories
> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
> repository: </opt/opengrok/source/G/gate>
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.history.HistoryGuru
> addRepositories
> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
> repository: </opt/opengrok/source/H/gate> Mar 26, 2009 2:57:09 PM
> org.opensolaris.opengrok.history.HistoryGuru addRepositories
> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
> repository: </opt/opengrok/source/D/gate>
> Done searching for repositories (0s)
> Writing configuration to /opt/opengrok/data/configuration.xml
> Done...
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.history.HistoryGuru
> createCache
> INFO: Create historycache for /opt/opengrok/source/G/gate
> (CVSRepository) Mar 26, 2009 2:57:09 PM
> org.opensolaris.opengrok.history.HistoryGuru createCache
> INFO: Creating historycache for /opt/opengrok/source/G/gate took (1ms)
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.history.HistoryGuru
> createCache
> INFO: Create historycache for /opt/opengrok/source/D/gate
> (CVSRepository) Mar 26, 2009 2:57:09 PM
> org.opensolaris.opengrok.history.HistoryGuru createCache
> INFO: Creating historycache for /opt/opengrok/source/D/gate took (0ms)
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.history.HistoryGuru
> createCache
> INFO: Create historycache for /opt/opengrok/source/H/gate
> (CVSRepository) Mar 26, 2009 2:57:09 PM
> org.opensolaris.opengrok.history.HistoryGuru createCache
> INFO: Creating historycache for /opt/opengrok/source/H/gate took (0ms)
> Mar 26, 2009 2:57:09 PM org.opensolaris.opengrok.index.Indexer
> doIndexerExecution
> INFO: Starting indexExecution
>
> Please advise,
> Thanks
> Pranab 
>
> -----Original Message-----
> From: Lubos.Kosco at Sun.COM [mailto:Lubos.Kosco at Sun.COM] 
> Sent: Thursday, March 26, 2009 3:58 AM
> To: Pranab Panda (pkpanda)
> Cc: Jorgen.Austvik at Sun.COM; opengrok-discuss at opensolaris.org
> Subject: Re: [opengrok] CVS history and annotate doesn't work
>
> Pranab Panda (pkpanda) wrote:
>   
>> Hi Jorgen
>> I am using local repository and the CVSROOT is set to
>> :pserver:accountname at servename;/path-2-cvsroot
>>   
>>     
>
> I guess this explains your probs as Jorgen pointed out
> your CVS needs to be local for 0.7 (trunk version doesn't have this,
and
> supports remote cvs, I never tested it though ;)  ;  trunk version is
a
> build out of _current_ checkout of development sources )
>
> CVSROOT needs to be just local, e.g. /path-2-cvsroot
> otherwise opengrok 0.7 will just ignore it
>
> once new opengrok version is out, it hopefully will not have this
> restriction (although if I remember correctly, the cvs history search
> will not work, because of performance reasons, but annotate and cvs
> should work ok)
>
> xing the fingers
> Lubos
>
>   
>> My run.sh gives the following output
>> ./run.sh
>> Scanning for repositories...
>> Mar 25, 2009 2:40:00 PM org.opensolaris.opengrok.history.HistoryGuru
>> addRepositories
>> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
>> repository: </opt/opengrok/source/G/gate>
>> Mar 25, 2009 2:40:00 PM org.opensolaris.opengrok.history.HistoryGuru
>> addRepositories
>> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
>> repository: </opt/opengrok/source/H/gate> Mar 25, 2009 2:40:00 PM
>> org.opensolaris.opengrok.history.HistoryGuru
>> addRepositories
>> INFO: Adding <org.opensolaris.opengrok.history.CVSRepository>
>> repository: </opt/opengrok/source/D/gate>
>> Done searching for repositories (0s)
>> Writing configuration to /opt/opengrok/data/configuration.xml
>> Done...
>> Mar 25, 2009 2:40:00 PM org.opensolaris.opengrok.index.Indexer
>> doIndexerExecution
>> INFO: Starting indexExecution
>>
>> I looked at the thread about someone making changes
>> To ScmChecker for cvs repository detection,
>> I don't know where/how to change ScmChecker on my
>> Installation and also if I need to do it since
>> >From the outout I guess opengrok detects the cvs repository
>>
>> I Don't know how to use the trunk, I don't have a opensolaris
>> Background. Please let me know how to do it.
>>
>> I had installed opengrok 0.7 in Feb 2009 so
>> I assume I have the latest at that time.
>>
>> Please advise
>> Thanks
>> Pranab
>> -----Original Message-----
>> From: Jorgen.Austvik at Sun.COM [mailto:Jorgen.Austvik at Sun.COM] 
>> Sent: Wednesday, March 25, 2009 1:44 PM
>> To: Pranab Panda (pkpanda)
>> Cc: opengrok-discuss at opensolaris.org
>> Subject: Re: [opengrok] CVS history and annotate doesn't work
>>
>> Pranab Panda (pkpanda) wrote:
>>   
>>     
>>> The cvsroot is available on the opengrok server
>>> As /cvsroot (exported from the cvsserver:/cvsroot)
>>>
>>> Also I have local checkouts done under 
>>> /opt/opengrok/source
>>>
>>> I scanned the mailing list archive but couldn't
>>> Find anything applicable to CVS history.
>>> Please advise
>>>     
>>>       
>> Hi, sorry for late reply, I am at a training class at workdays this
>> week.
>>
>> RFE 5918 (support for history and annotations for remote CVS 
>> repositories) was checked in 25th of Dec, after 0.7 was released. So
I
>>     
>
>   
>> am trying to find out if you have a remote CVS repository (or if 
>> OpenGrok thinks so anyway).
>>
>> It looks like you are using OpenGrok 0.7, which does not support it
>>     
> for 
>   
>> remote CVS repositories, but should support it for local CVS
>> repositories.
>>
>> You say CVSROOT is /cvsroot, it is sometimes something like:
>>
>> :local:/cvs/repository - local repository
>> :pserver:cvs at host.example.com:/cvs - remote repository
>>
>> The "[opengrok] Accessing RCS history local file" thread at
>>     
> "18.02.2009 
>   
>> 17:29" contains some information about that.
>>
>> Can you show me the console output of:
>>    cat /cvsroot/CVS/Root
>>    cat /cvsroot/CVS/Repository
>> ?
>>
>> Do you have any logs of interest?
>>
>> Can you try with OpenGrok from trunk, to see if it is fixed there?
>>
>> -J
>>
>>   
>>     
>>> -----Original Message-----
>>> From: Jorgen.Austvik at Sun.COM [mailto:Jorgen.Austvik at Sun.COM] 
>>> Sent: Tuesday, March 24, 2009 12:05 AM
>>> To: Pranab Panda (pkpanda)
>>> Cc: opengrok-discuss at opensolaris.org
>>> Subject: Re: [opengrok] CVS history and annotate doesn't work
>>>
>>> Pranab Panda (pkpanda) wrote:
>>>     
>>>       
>>>> Hi 
>>>>
>>>> Can someone please help me with CVS History and annotate issue?
>>>> Thanks
>>>>       
>>>>         
>>> What is your CVS root?
>>>
>>> Have you tried to search the archives for "CVS" "history" and
>>> "annotate"?
>>>
>>> -J
>>>     
>>>       
>> _______________________________________________
>> opengrok-discuss mailing list
>> opengrok-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
>>   
>>     
>
> _______________________________________________
> opengrok-discuss mailing list
> opengrok-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
>   


Reply via email to