netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Notifications for build executions

Open nmatt opened this issue 1 month ago • 2 comments

Description

When running tests (i.e. JUnit test executions), NetBeans generates a notification when the test is finished, showing a notification bubble from the status bar. It would be useful to have the option of a similar notification for (Maven) build executions, showing if the build succeeded or failed.

Use case/motivation

The NetBeans window system can be used such that the Output window is only visible on demand. When a build of one module is running, I often continue working on other stuff in a different module, and I might be waiting for the build to finish to run some other operation or test against the newly built module, if it was build successfully. In that context, a notification would be useful to get a more visible indication of when the build execution has finished, and more importantly, to also quickly see if the build was successful or not, without having to pull up the Output window.

Related issues

No response

Are you willing to submit a pull request?

No

nmatt avatar Nov 05 '25 18:11 nmatt

notifications are getting annoying really quick. I have nothing against this functionality in itself but given how often projects are built (or maven goals are executed), this shouldn't be enabled by default.

mbien avatar Nov 06 '25 13:11 mbien

@mbien: I agree, it should be an option. Though arguably it should be an option for unit tests as well, I run them at least as often as non-test builds.

nmatt avatar Nov 06 '25 13:11 nmatt