Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313694

Summary: Add -builder argument to CDT's headless builder
Product: [Tools] CDT Reporter: Harald <Harald.Kaestel-Baumgartner>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: bernhard.merkle
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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