-
Notifications
You must be signed in to change notification settings - Fork 843
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
[NETBEANS-1733] Ask when downloading nbjavac - backport to 10.0 release #1036
[NETBEANS-1733] Ask when downloading nbjavac - backport to 10.0 release #1036
Conversation
getBundle ("InstallerMissingModules_Install")); | ||
boolean ok = PluginManager.openInstallWizard(installContainer); | ||
if (!ok) { | ||
StringBuilder sb = new StringBuilder(); |
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.
For what it's worth, you might want to use a Stream instead (with a static import for Collectors::joining
):
StringBuilder sb = new StringBuilder(); | |
String s = modules4install.stream() | |
.map(UpdateElement::getDisplayName) | |
.collect(joining(", ")); |
Tested before merging. It works, though cancelling the nb-javac installation also cancels the activation on JavaSE feature. |
So JavaSE can only be enabled with nb-javac? If I remember correctly @jlahoda put effort into enabling at least basic IDE features with the JDK javac. If this really makes that work unusable, there should be a followup reinstating the vanilla javac work. |
I'd say the current state is good enough for 10.0 - it fixes the licensing blocker. Fine tuning can happen for next version. |
Sure ... I'm a bit tired of removing fallout from rash implementations (we are still suffering from the directory reorganisation ...). |
JavaSE still can be enabled without nb-javac. See my comments on https://issues.apache.org/jira/browse/NETBEANS-1733 |
Hmmm, I find the UI to be fairly "not good". It does not say why it is trying to install the plugins, how to recover from the Cancel, etc. But, can we please make this at least a little bit better for those that run on JDK where we can run without nb-javac? Something along the lines of #1037. |
Hi all, |
@vieiro JUnit was CPL according to wikipedia that license is deemed incompatible with the GPL, so that would have prevented combination. JUnit was relicensed to EPL. EPL v1 + v2 are both cleared by apache legal and that is reflected in the existens of the |
Thanks for the explanation @matthiasblaesing ! |
When an ergonomics feature is installed while opening a project, it could download a (GPL licensed!) Javac without asking the user.
This change shows a dialog and let's user confirm or cancel the action.
This request merges into
release100
branch - this is a convenience request. It should be merged once #1035 is merged and verified intomaster
branch.