Re: Saving the semanticdb in a project specific place

Jean-Marc Bourguet <[email protected]> Wed, 08 Apr 2015 09:42:22 +0200
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
On 08.04.2015 02:47, Eric Ludlam wrote:
> On 04/03/2015 05:02 PM, Jean-Marc Bourguet wrote:
>> Hi all,
>> 
>> Is it possible to specify a per project directory where to save
>> semanticdb for the files in the project?
>> 
>> I don't see any project setting for that, setting a
>> semanticdb-default-save-directory have a global effect.
>> When made buffer local, the global value still seeems to be be the one 
>> used.
> 
> That is a good feature request.  Feedback I had in the past was that
> most folks just DID NOT want them saved anywhere in their project.  Of
> course, it used to be in every directory so that was too annoying.

That would be preferable for me (especially if it can be in a chosen
subdirectory): there are projects on networked disks which are routinely
used with different paths on different machines and different projects 
using
the same path on different machines. That would also be preferable with 
VCS
masquerading as file systems like ClearCase (while I've not used that 
one for
years, I seem to have better memory of it than most of its users).

> Looking over in cedet/semantic/db-file.el, there is only
> `semanticdb-file-name-directory' to be updated to add the feature.
> 
> Would you be using this with EDE, or do you need some custom way to
> modify where the project files would go?

I'm currently experimenting using ede-cpp-root-project, my intention if
I continue to use cedet, is to write something which directly use the 
project
description used by the build system (from a quick read of the manual, 
all
the needed info is available).

Yours,

-- 
Jean-Marc

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF