I understood your usage. However, I don't understand what you
want to do.
If you want to only put the tag files at places other
than the project root directory, you can use 'obj' directory.
Please see the online manual.
Otherwise, if you want to use GTAGSDBPATH, you must know a method
to set environment variables in gvim. I don't know about it.



2014-06-15 12:42 GMT+09:00 Suresh Govindachar <[email protected]>:

> On 6/14/2014 7:56 PM, Tama Communications Corp. wrote:
>
>>  > Question 1:  In the above, is the "cd <project>" required or
>>  > can the command "gtags -f <file> <db directory>" be issued from any
>> directory?
>>  > With version 6.2.11, gtags failed without the "cd";  I can try with
>> 6.3 on Monday.
>>
>> "cd <project>" is required.
>>
>>  > Question 2:  how will global know where the data-base is for each gvim?
>>
>> Usually, it exists in the project root directory.
>> Why don't you invoke gtags simply as follows?
>>
>
> Sorry if Question (2) was not clear.  Question (2) is about global, not
> about gtags.  To recap from previous email:
>
>   Data base for project_1 is at <dbpath>/prj_1/
>   Data base for project_2 is at <dbpath>/prj_2/
>
>   Source for project_1 is at <first_path>/prj1
>   Source for project_2 is at <some_other_totally_different_path>/prj_2
>
> Inside one gvim, do ":cd <first_path>/prj1"
>
> Inside other gvim, do ":cd <some_other_totally_different_path>/prj_2"
>
> Now how to use global for the two projects from gvim?
>
> Thanks,
>
> --Suresh
>
>
>


-- 
Shigio YAMAGUCHI - Tama Communications Corporation
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global

Reply via email to