bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: excluding some paths


From: Shigio Yamaguchi
Subject: Re: excluding some paths
Date: Tue, 21 Jan 2003 00:04:41 +0900

> From: Shigio Yamaguchi [mailto:address@hidden
> > It is impossible because GLOBAL assumes source directory as a 
> > logical scope.
> > Only thing we can do is eliminating some parts from the scope.
> Then is it possible to combine the database from different runs. I am
> thinkling of running gtags in two or more folders, that i want to include,
> and then combine the two to one.
> i.e.
> i have :
> src/dir1
> src/dir2
> src/dir3
> 
> Then i run.
> cd src/dir1
> gtags
> cd ../src/dir3
> gtags
> 
> then i whant to:
> combine src/dir1 src/dir3 > /src/GTAGS
> etc. for the rest
> 
> I this somehow possible?

I have moved here from <address@hidden>.

Currently, above solution is impossible.
I'm thinking about new option for that case.

[command line]

        % cd src
        % find ./dir1 ./dir3 -print > filelist
        % gtags --file=filelist

[limitation]

        Path name must be started with './'.

Find(1) has so rich options for selecting files that we need not complicate
gtags(1). You can even edit filelist directly for your needs.

What do you think?
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]