Re: Is there a way to use ede-cpp-root-project inside Project.ede?

"Eric M. Ludlam" <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 06/11/2014 06:30 AM, Tu Do wrote:
> Hi Eric,
>
> I don't want to centralize project setup in a single file but inside
> Project.ede. EDE seems to not recognize the project setup if I put
> |(ede-cpp-root-project ...)  in it (it says something like "Corrupted
> project.."). I only need (ede-cpp-root-project..) for navigation.
>
> |Is there a way?

Hi,

The ability to read in a lisp file automatically just by opening a file 
in a directory is a security hazard.  As such, there is a bunch of 
corruption detection in the  Project.ede reader, and it is very 
persnickety about what is in the Project.ede file.

I have a branch in CEDET/bzr called "ede-ldf" which completely revamps 
how EDE detects projects in a way that will enable you to use the 
"ede-generic" project type, which supports almost most of the features 
cpp-root, and java-root (I'll have to check on that) instead.

Using a generic project will save an EDEConfig.ede file which has the 
typical include path data in it from cpp-root.

Since the new version of EDE in that branch supports projects rooted by 
version control systems such as bzr, git, CVS, etc, you may only need to 
enable generic projects with (ede-enable-generic-projects) and use 'M-x 
customize-project' to do what you want.

All I've managed to test recently on this new version is that these 
projects are detectable, and that config files get saved.  I know the 
other mechanics work from when I worked on the generic project type from 
a while go.

I'm looking forward to merging my changes up.  I think it will solve a 
bunch of EDE project issues, especially with the simplicity of generic 
projects when more complex project types don't match up with someone's code.

Good Luck
Eric

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.