stefanofornari opened a new issue, #9334: URL: https://github.com/apache/netbeans/issues/9334
### Apache NetBeans version Apache NetBeans 29 ### What happened I am developing a NB module and I'd like to use javafx. I'd like also not to include all JFX dependencies into the module nbm. I understand this should be done by declaring a dependency on org-netbeans-libs-javafx, but I could not make it work, despite all the tricks I have tried. Here what I have tried and the results: 1. Include org-netbeans-libs-javafx as a module dependency, either in the nbm plugin or directly in the manifest; the module is not automatically activated when I install my module with the result that JPanelFX is not available (ClassNotFound exception). 2. Activating org-netbeans-libs-javafx manually made a step forward: JPanelFX becomes available, but no FXML or Control libraries are available unless you defined the dependencies as regular dependencies (which brings the libraries into the nbm) 3. Created and registered an Installer class, as I read a suggestion to do it in the hope this would have triggered org-netbeans-libs-javafx activation. Although there is the workaround to include JavaFX as dependencies, it would be highly appreciated NB has a simple and automatic way to include it as a ecosystem module available in the platform. PS: I can provide a simple module if needed ### Language / Project Type / NetBeans Component Java Maven Project ### How to reproduce 1. Create a simple module that opens a simple javafx app 2. Add org-netbeans-libs-javafx as module dependency (OpenIDE-Module-Requires: org.netbeans.libs.javafx) 3. Build and install the module 4. Run the app Expected Behaviour The app just works Current Bahaviour The app does not work (class not found exceptions are logged into the IDE log) ### Did this work correctly in an earlier version? No / Don't know ### Operating System linux ### JDK 25 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? Yes -- 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
