On 10/01/2010 12:38 PM, Jed Brown wrote:
> I used to pipe find output to gtags -f - to create tags at the root of
> my home directory. If I try to update these with
> cedet-gnu-global-create/update-database, gtags starts trying to index
> all sorts of things it shouldn't be looking at. I tried putting a
> separate GTAGS in each project, which can be managed with
> cedet-gnu-global-create/update-database, and is faster to update and
> query, but now I can't jump to definitions in a different project.
> Since I have dependencies between projects, I want to be able to move
> between them.
>
> Should I go back to the single GTAGS file residing at $HOME, or is
> there a way to declare dependencies so that inter-project jumps work?
> I currently get these errors
>
> semantic-ia-fast-jump: Could not find suitable jump point for
> FunctionFromDependency
>
> and for gtags-find-tag, FunctionFromDependency: tag not found
The only way I know to solve this is to create a gtags.sh script that
will then invoke gtags across all your GTAGS databases. This will make
updating the individual tag files fast, but allow you to change only
cedet-global-gtags-command to start doing what you want.
At least, that's my guess. We did that with idutils at work and it
worked ok.
Eric
|