emacs-devel
[Top][All Lists]
Advanced

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

Re: IDE


From: Dmitry Gutov
Subject: Re: IDE
Date: Wed, 14 Oct 2015 14:42:46 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0

On 10/14/2015 05:45 AM, Eric Ludlam wrote:

This is how EDE (a part of CEDET) is setup and works.  There are
"projects", and in projects there are "targets".  There are project
build commands, and target build commands.  Each project or target can
have language specific features for setting up CEDET's parsers.

Is there a particular reason to have the notion of "target" in the project API? If the need is to simply disambiguate commands with the same name, the commands could be prefixed with the target name, e.g. "release:compile", "release:test".

There is a set of different base classes for projects, and many
specializations for various flavors of java projects such as maven and
ant, C++ projects, lisp projects, and more.

What do you do if several different project types use the same build system (and so the logic to parse the build targets is the same)?

What would you do if a certain project type can be used with different build systems? Create an inheriting sub-type for each of them?

That approach looks worrying if we get several varying pieces of behavior like that: for example, different build tools and different test frameworks.



reply via email to

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