You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2025/06/06 18:14:10 UTC
[PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
mbien opened a new pull request, #8566:
URL: https://github.com/apache/netbeans/pull/8566
- removes "COS is not enabled" notification bubbles
- add "(deprecated)" to COS checkbox text
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146635005
> This isn't difficult to revert since it is just a label.
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:
* It is an extremely useful feature for large projects where a clean build would take several minutes.
* The feature has remained stable for the last 15 years. The main requirement for maintenance is to make sure new changes don't actively break it. (I disagree that all currently known bugs have to be fixed for this to be a useful feature.)
* The feature had no obvious alternative the last time I investigated it (Aug 2024).
* Compile-on-Save is necessarily an imperfect feature: Sometimes, a clean build will always be needed. We have different philosophies on this. I think bugs and limitations are a part of life in IDEs, and that even imperfect features can serve a very useful purpose in some developers' workflows.
* Dropping a feature is a "one-way decision"; it permanently throws away work which may have taken people months or years to create.
Here is the technical justification for a -1 on _deprecating_ CoS:
* The word "deprecated" has special meaning that suggests there is consensus to remove the feature in the future. But we don't have consensus on that.
* The word "deprecated" may suggest to other contributors that it's OK to introduce changes that will break CoS in the future. That could cause the feature to break for real.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146143226
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"](https://lists.apache.org/thread/oox1snosw8zxxj6l77vjwnx5z2rocw9l ) 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien merged PR #8566:
URL: https://github.com/apache/netbeans/pull/8566
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146426440
> 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3150732398
Yes, a mailing list discussion would be useful! (No hurry for me obviously, fine to do so between releases if more convenient.)
> 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.
Here is a PR for that: https://github.com/apache/netbeans/pull/8704
(It's a bit long but perhaps the length of the caveat will also scare people to the appropriate degree :-) )
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146620799
> @eirikbakke your offer to maintain this in future is noted! 😄
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3149788358
> Here is the technical justification for my -1 on removing CoS:
>
> * It is an extremely useful feature for large projects where a clean build would take several minutes.
>
> * The feature has remained stable for the last 15 years. The main requirement for maintenance is to make sure new changes don't actively break it.
That's a discussion to move to the mailing list. I will argue that both those points, particularly the second, are technically invalid.
> Here is the technical justification for a -1 on _deprecating_ CoS:
>
> * The word "deprecated" has special meaning that suggests there is consensus to remove the feature in the future. But we don't have consensus on that.
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! :smile:
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146399139
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 ;)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3148626780
Perhaps something like this instead?
<img width="590" height="470" alt="image" src="https://github.com/user-attachments/assets/97266f90-7273-46ec-877a-7e1de4614f50" />
```
Compile on &Save (disabled by default; see caveats below)
If selected, files are compiled when you save them.
<html>This option can save time when you run or debug your application or tests in the IDE.<br><br>
<b>Caveat:</b> Compile on Save works only for certain kinds of changes, such as those that touch a single class at a time, and which do not not involve annotation processors or resource files. In other cases, a manual, clean build may be required.<br><br>This option is only useful for very large projects, where frequent Maven builds may be prohibitively slow.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-2964075446
thanks for review. merging.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Maven project: remove COS notifications and deprecate COS in UI [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on PR #8566:
URL: https://github.com/apache/netbeans/pull/8566#issuecomment-3146390661
@eirikbakke your offer to maintain this in future is noted! :smile:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists