Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313927 - Need API for requesting builds of cdt configurations
Summary: Need API for requesting builds of cdt configurations
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 485132
  Show dependency tree
 
Reported: 2010-05-21 11:42 EDT by James Blackburn CLA
Modified: 2020-09-04 15:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2010-05-21 11:42:57 EDT
As discussed in bug 309126, there is no central location for contributors to request the build of a specific CDT configuration.

As configurations are a core concept (as are references between configurations) we should provide a small utility class for building a project configuration and its dependencies.
Comment 1 Martin Oberhuber CLA 2016-06-05 09:20:41 EDT
For bug 485132, we had to duplicate some CDT code in TCF.

@Doug, I am wondering if/how the request for an API to build CDT Configurations would fit the new build infrastructure in CDT 9.0 and higher ?
Comment 2 Doug Schaefer CLA 2016-06-06 00:10:28 EDT
(In reply to Martin Oberhuber from comment #1)
> For bug 485132, we had to duplicate some CDT code in TCF.
> 
> @Doug, I am wondering if/how the request for an API to build CDT
> Configurations would fit the new build infrastructure in CDT 9.0 and higher ?

The new build infrastructure is still in it's infancy. It's not for general use yet.

But, yes, the API is pretty simple. Adapt the IBuildConfiguration to an ICBuildConfiguration and call the build method. I'm now looking at Oxygen to get it spread throughout the CDT so it'll be a while.