-
Notifications
You must be signed in to change notification settings - Fork 915
Maven project: remove COS notifications and deprecate COS in UI #8566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- removes "COS is not enabled" notification bubbles - add "(deprecated)" to COS checkbox text
matthiasblaesing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sane to me. Thank you.
|
thanks for review. merging. |
|
I know there is a temptation to remove Compile on Save, but please note my -1 on that for the future. See the previous discussion "Projects, Builds and IDE magic" from August 2024. It would be great if proposals to deprecate or remove features could be discussed on the mailing list, as these are often decisions that are difficult to revert. |
|
@eirikbakke your offer to maintain this in future is noted! 😄 |
|
It reflects the state of the implementation. This isn't difficult to revert since it is just a label. All what is needed is a committer which wants to maintain it, fix the showstopper bugs and an implementation which works with mvn 3/4, annotation processors and common mvn plugins, then communicate it to the user that this feature will use a different compiler to copy bytecode into the build folder with all the "interesting" problems this can cause even if it perfectly works. Even if this would be resolved, I would be -0 (I won't help and won't support it), since in context of tooling daemons this is the wrong place to implement such feature in 2025. I doubt that letting everyone who votes -1 inherit the implementation is a good way to find maintainers though - but we could try ;) |
I assumed this was meant as a code -1, ie. a veto. A veto needs to be technically justified and propose some alternative way forward, and a willingness to make that alternative happen. For all the reasons mentioned, and more, the current label is correct, while in theory reversible. At some point those issues may (probably inevitably will) lead to the need to remove or fix. If someone vetoes the removal they will have to propose the fix and ensure it happens. Personally, I'd love to see the removal of CoS anyway, and was switching it off everywhere for about a decade before we changed the default. It is the wrong place to implement and in many ways antithetical to NetBeans' approach to build systems. |
At the very least I can help test features that might accidentally break Compile-on-Save! I use this feature every day and depend on it heavily. I also have not been able to find an alternative. |
In that case, I'd prefer if the addition of the word "(deprecated)" is reverted. Here is the technical justification for my -1 on removing CoS:
Here is the technical justification for a -1 on deprecating CoS:
|
That's a discussion to move to the mailing list. I will argue that both those points, particularly the second, are technically invalid.
That is correct, and we should probably move to make such decisions via the mailing list, via discussion, consensus, and (if necessary) vote, similarly to the JDK 8 issue. The profiler and the changes in #8396 are possibly other things that should be decided there too. For now, your caveat makes sense, if being a little long! 😄 Please liaise with @mbien about the change, who will make the PR for delivery, and get it opened ASAP if it's going in RC3. |
|
Yes, a mailing list discussion would be useful! (No hurry for me obviously, fine to do so between releases if more convenient.)
Here is a PR for that: #8704 (It's a bit long but perhaps the length of the caveat will also scare people to the appropriate degree :-) ) |

reproducer:
run a single test method from within a maven project while having COS disabled, NB 26 should show a notification asking the user to enable COS. This should be gone now.