Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Solutions/nested projects

One of our multi-core product teams requested support for a project
hierarchy allowing one 'main'-core project to have several sub-core
projects below it. Unfortunately, and in my opinion a major
shortcoming, Eclipse only supports a flat project hierarchy where
projects have to be defined directly under the workspace. See Bugzilla
CR35973, https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973 

As described in comment 19 of this CR, one solution is to use project
references as parent->child relations and use that to show hierarchy
within a view. Attached a plugin that provides such a view (basically
an extension to the CDT C view). When added to the Eclipse plugin
directory an entry 'Nested C/C++ Projects' will appear in the list of
C/C++ views. When opened, referenced projects like libraries should 
appear as childs of the project(s) referencing them. This view also
allows grouping of projects by creating a new 'General' project, e.g.
'USB examples' and referencing all usb example projects from that one.

Please note that I fully agree with the conclusion from comment 19,
that a better solution is to support project nesting within the API,
but in absence of a target milestone for this issue, using project
references might be a usefull way to show some hierarchy within a
workspace.

Regards,
  Wieant

Attachment: com.example.cview_1.0.0.jar
Description: application/java-archive


Back to the top