Bug 112787 - ManagedCommandLineGenerator not called to show Tool Settings.
Summary: ManagedCommandLineGenerator not called to show Tool Settings.
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 4.0   Edit
Assignee: Oleg Krasilnikov CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 112790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-17 10:21 EDT by Wieant CLA
Modified: 2008-06-19 23:49 EDT (History)
3 users (show)

See Also:


Attachments
Patch proposal (2.02 KB, patch)
2006-01-03 08:26 EST, Wieant CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wieant CLA 2005-10-17 10:21:57 EDT
The MBS allows specification of a ManagedCommandLineGenerator to process
tool flags into a command line. The same class however is not called to
process the flags shown in the C/C++ build dialog when a Tool is selected
(ToolSettingsBlock).
Comment 1 Chris Recoskie CLA 2005-10-17 10:47:15 EDT
Reassigning to Build.
Comment 2 Wieant CLA 2005-10-17 10:47:52 EDT
*** Bug 112790 has been marked as a duplicate of this bug. ***
Comment 3 Wieant CLA 2006-01-03 08:26:53 EST
Created attachment 32405 [details]
Patch proposal
Comment 4 Oleg Krasilnikov CLA 2007-02-26 07:27:42 EST
Problem fixed:

org.eclipse.cdt.managedbuilder.ui.newui.ToolSettingsPrefStore.java:
- applied Wieant's patch
org.eclipse.cdt.managedbuilder.internal.core.ManagedCommandLineGenerator.java:
- added check for empty inputResources.

Comment 5 Wieant CLA 2007-02-27 12:55:00 EST
Oleg,

Checked it in 4.0, and the patch seems to do the trick.
Thanks!