Hi! I confess, EDE always has been the most mystifying part of CEDET,
and I'm afraid I'm still a little nonplussed. I followed the new
comments in ede-generic.el in order to try to add support for Apache Ant
(and Java sources), with the code that's pasted in below. What happens
now? Following the pattern of ede-generic-makefile-project, which says
that "Makefile" is the buildfile, I've said that "build.xml" (usual name
of Ant's build files) is my build file. Does that mean I should have
build.xml in the root of my project? What defines the root of my
project? I think that defining a project and its root are the most
important parts of EDE for me (more so than project build support),
since evidently it's a prerequisite for using ede-find-file,
semantic-symref using GNU Global, and the analyzer.
(defclass ede-generic-ant-project (ede-generic-project)
((buildfile :initform "build.xml"))
"Generic project for Ant projects")
(defmethod ede-generic-setup-configuration ((proj
"Set up a configuration for Ant."
(oset config build-command "ant -f"))
(ede-generic-new-autoloader "edeproject-ant" "Ant"
(defclass ede-generic-target-java (ede-generic-target)
((shortname :initform "Java")
(extension :initform "java"))
"EDE Generic Project target for Java code.
All directories need at least one target.")
> -----Original Message-----
> From: Eric M. Ludlam [mailto:eric@...]
> Sent: Sunday, July 25, 2010 7:26 AM
> To: cedet-devel
> Subject: [CEDET-devel] EDE Changes
> I had some time to clean up some old projects, so here is a list of
> features in CEDET from the past week or so.
> ede-generic.el - Added more commentary to help anyone wanting to add
> some more project or source types.
> If you couldn't use ede-generic because it was too aggressive in
> projects, you can now create a file called ".ede-ignore" in any
> directory you don't want tagged as a project. There is a .ede-ignore
> file in the CEDET root. To enable generic project support, use:
> ede-simple.el (CVS only) - Consider this obsolete, and try not to use
> The EDE project that creates Automake files now supports Lex and Yacc
> sources. They are not supported in plain Makefile support mode.
> When EDE creates your configure.ac file, it will do so now with an
> SRecode template, so it is much easier to configure the output.
> semanticdb-cscope.el - This now works. Use:
> to turn on support.
> External databases like cscope, global, and idutils now all have a
> common "create" interactive function called
> `cedet-<tool>-create/update-database'. Thus if you know you have some
> tool like global installed, just call
> `cedet-gnu-global-create/update-database' at the root of your project
> create the databases. These are used in the integration test suite to
> test support for these tools is working. I'd like to add support to
> EDE Project menu for this too, but haven't gotten that far. EDE uses
> these tools for finding files in a project (like includes) so it is
> quite handy there.
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> Cedet-devel mailing list