Bug 534288 - [Feature request] Build hooks, to run notification program
Summary: [Feature request] Build hooks, to run notification program
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.7.1   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-05-02 23:17 EDT by Sebastian Gniazdowski CLA
Modified: 2018-05-05 08:40 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 Sebastian Gniazdowski CLA 2018-05-02 23:17:25 EDT
I have a nice notification tool – it displays text under prompt of all active shells (Zsh):

https://asciinema.org/a/156726

I want to notify "Build finished", ideally with additional information "... with 0 warnings 0 errors", maybe also with project name.

I think this functionality is what people look forward to, builds are long and sometimes often repeated to just check effect of a change, I then go into shell to perform some secondary tasks, but the awareness that build is ongoing, can be long or short, with errors or warnings, etc. is very disturbing.

Could a feature be added, to run simple command-hook after build is finished, in my case it would just execute: zc-bg-notify -q "text".
Comment 1 Dani Megert CLA 2018-05-03 06:48:38 EDT
What build are you talking about?
Comment 2 Sebastian Gniazdowski CLA 2018-05-04 02:03:20 EDT
I mean general build, but if there is no such thing, then I use CDT and external builder (gcc toolchain).
Comment 3 Dani Megert CLA 2018-05-04 04:50:54 EDT
So, you are talking about the builder in the IDE?
Comment 4 Sebastian Gniazdowski CLA 2018-05-04 17:09:45 EDT
Yes
Comment 5 Dani Megert CLA 2018-05-05 08:40:23 EDT
You can listen to resource change events. Those will also notify about added/removed markers/problems. See the Help for more details.