Bug 313694 - Add -builder argument to CDT's headless builder
Summary: Add -builder argument to CDT's headless builder
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 06:57 EDT by Harald CLA
Modified: 2020-09-04 15:22 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 Harald CLA 2010-05-20 06:57:35 EDT
Build Identifier:  M20090917-0800

A build configuration can contain external tool builders that won't run in headless build. To call explicit the CDT builder (or others) an additional argument would be fine. For example

 -builder org.eclipse.cdt.managedbuilder.core.genmakebuilder

In org.eclipse.cdt.managedbuilder.internal.core.HeadlessBuilder

prj.build(IncrementalProjectBuilder.FULL_BUILD, monitor);

could be replaced with

if (builder == null)
  prj.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
else
  prj.build(IncrementalProjectBuilder.FULL_BUILD, builder, null, monitor);

 


Reproducible: Always