stefanofornari commented on issue #9334: URL: https://github.com/apache/netbeans/issues/9334#issuecomment-4294185862
After some more investigation, I would say I found the pattern that works and narrowed the issue. **To make it work** 1. Declare in pom.xml a dependency on org-netbeans-libs-javafx 2. Declare in pom.xml all dependencies to the needed javafx modules as regular dependencies 3. In Plug-in manager, install the module JavaFX Impementation for <Platform> 4. Install my plugin **Expected behaviour** I should be able to declare my dependencies on JavaFX modules as <scope>provided</scope> due to the dependency on org-netbeans-libs-javafx. In this way all modules that use JavaFX will share the same JavaFX binaries. Currently, if I specify provided, NB does not find JavaFX classes unless I use a JDK distribution with JavaFX **Desired behaviour** I see there is an issue with the above: which version of JavaFX should NB use? An easy choice would be the same as the JDK, but in the dependencies we may specify a different version. NB should then manage all versions, maybe with multiple versions of org-netbeans-libs-javafx or downloading all required versions if a module requires one not yet downloaded. I am happy to help if I have guidance on where to start from.... :) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
