-
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
Fragments for libs.javafx with JavaFX 11 implementation #917
Conversation
b7abe22
to
a05c620
Compare
a05c620
to
710f302
Compare
So, I think this is a great idea - but the patch is adding the libraries to the standard (platform) build, no? While I would appreciate that, this does not seem to be allowed per Apache rules due to the license? |
I agree with Jan, great idea, but we will not be able to produce/use the binaries here at apache - so we need a similar solution to Jan's nbjavac. |
Concerning the OS dependency, could
help? |
Right. The modules cannot be part of regular distribution. They need to be downloaded on demand. On the other hand, the NBMs could be hosted on Apache AU, as 4a7f7ba changes the NBMs to not contain the actual JAR files -only to download the JARs from Maven repository. The approach is based on IZ 195041.
The 4a7f7ba approach is similar to
I am not sure I understand the comment. There is |
Ok, understood. Still the module hosted on Apache UpdateCenter needs the GPL license - is this ok with Apache? Do we need clarification for this? |
…lable in a packaged in update center.
The change creates three new modules and puts them into As such it is important for the modules to not be present in the final ZIP and only available from an update center. Putting the modules into The changes were tested on JDK8 and JDK11. On JDK8 only Please review, approve, integrate. Thanks in advance @jlahoda, @sdedic, @svenreimers! |
ergonomics/ide.ergonomics/src/org/netbeans/modules/ide/ergonomics/fod/FeatureInfo.java
Show resolved
Hide resolved
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.
OK, tested, seems not to break antyhing + downloads javafx on JDK11.
@dukescript would you please squash related or "unimportant" commits, so we do not pollute git history too much ? Thanks. |
@sdedic Thanks a lot for testing. I think in this case having detailed history is useful, as the commits contain the info of the required steps. So if someone is facing a similar problem, or the approach needs to be updated/enhanced for future releases, having the individual commits will be helpful for understanding what's going on. |
I just build netbeans master (clean source tree, just running
Netbeans 11 is not releasable in that state. Please ensure, that the files are not part of the distribution. GPL-2-CP is still not cleared by the ASF and thus we can't redistribute GPL-2-CP files |
@dukescript please have a look at this. The next version of netbeans will not be releasable, if this is not resolved. This is opened as blocker issue: https://issues.apache.org/jira/browse/NETBEANS-1995 |
I guess part of this one (or the whole) shall be reverted and a new nb-javac like solution shall be integrated, |
Maybe this is just a packaging problem. But I'm a bit disappointed, that @dukescript ignores this. |
JDK11 has dropped support for JavaFX. Certain parts of NetBeans IDE rely on JavaFX being present (namely the Java Frontend Application wizard). This PR is an attempt to package Maven JavaFX 11 libraries as fragments enhancing existing
libs.javafx
module that could be packaged as NBM and downloaded on demand when the users runs on JDK11 and enables support that relies on JavaFX webview.