Bug 531796 - Is it possible to have all results of all build if I build all ?
Summary: Is it possible to have all results of all build if I build all ?
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 9.4.2   Edit
Hardware: PC Windows 7
: 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: 2018-02-28 10:08 EST by kkt8 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 kkt8 CLA 2018-02-28 10:08:28 EST
Hello,

If you build all the build configurations (: click right on a project, select "Build configurations" then "Build all" menus) you have only the build results of the last configuration on the console and on the problems views.

Is it possible to have all the results of the build All ?
I launch all configurations, I want to see all the results ;)

Many thanks
Christelle
Comment 1 florent Vion CLA 2018-05-16 08:02:42 EDT
Hi,

For me this behavior comes to the management of the console view.
When a project is built, there is two consoles involved:
- The CDT Global Build Console
- The CDT Build Console [my_project]

(Noted that these two consoles are managed by an other console, MultiBuildConsoleAdapter, which acting like a wrapper. And this wrapper writes into both, so the both consoles show the same result)

The second one is created only once per project, no matter what build configuration activated, and the console is cleared at startup if the option "Always clear console before building" is activated. This console is saved in a map (method: getProjectConsolePartioner - class: BuildConsoleManager.java) in function of the project. That is why the console shows only the last build even if using the command "all build" for a project.

To enhance this behavior I see two possibilities:
1) Instead of store the console in function of the project, it will be more interested to store the console in function of the build configuration of the project. Like this, we have one console for each build.

2) Or, when the user uses "all build", we temporarily turn off the option "Always clear console before building" in preferences and we restore the option value at the end of builds. (dirty solution)

Cheers,
Florent