[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16852330#comment-16852330 ] Laszlo Kishalmi commented on NETBEANS-2004: --- This was the first trial after implementing the ClassPath support for Java Modularity. The implementation is based mostly how the Maven plugin does that. I'm not sure if that is the way to do it. it seems to have some redundancy in the classpath definitions there. But seems to work at first sight. Some additional work is required before I could make a PR out of this. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 > 13-21-55.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16852321#comment-16852321 ] Laszlo Kishalmi commented on NETBEANS-2004: --- !Screenshot from 2019-05-30 13-21-55.png! > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, Screenshot from 2019-05-30 > 13-21-55.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816560#comment-16816560 ] Geertjan Wielenga commented on NETBEANS-2004: - For me, not disabled at all. Sounds like permission problem on folder where NetBeans is installed, maybe. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816547#comment-16816547 ] Jose Pereda commented on NETBEANS-2004: --- That's an option indeed, but it is quite extreme, as it involves: - Uninstall built-in plugin (it doesn't work if it is just disabled), but - Uninstall is disabled by default, so you have to close NetBeans, and go to the NetBeans script, run sudo netbeans, so you get permissions to uninstall it. Restart - Install Attilas plugin from repository (or portal if it is published), and restart. -Then you get the external gradle support working. So there is no easy switching between plugins, once you switch to the external plugin you won't be coming back, or you won't switch at all. It is maybe better to keep a NetBeans 10 version... > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816479#comment-16816479 ] Geertjan Wielenga commented on NETBEANS-2004: - So if it works with the external plugin, explain how to uninstall the built-in Gradle support, until it provides what is needed here, and how to install the external plugin. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816471#comment-16816471 ] Jose Pereda commented on NETBEANS-2004: --- If you check the tutorial: https://openjfx.io/openjfx-docs/, we try to cover all possible scenarios for the developer: Command Line or IDE, and for each case, Java/Maven/Gradle, both for non-modular and modular JavaFX projects. Then we have a full set of samples at https://github.com/openjfx/samples, so a developer will come with his/her use particular case (i.e NetBeans, Maven, non-modular), read the tutorial for that case: https://openjfx.io/openjfx-docs/#IDE-NetBeans Section Non-modular with Maven and look for the sample https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Maven/hellofx So far the tutorial works for NetBeans 10 and JavaFX 11 with the external gradle plugin, but we are updating the docs to NetBeans 11 and JavaFX 12, with the brand new built-in gradle support, and we have hit a block in this particular case. Also, as mentioned in my comment above, it is not only JavaFX, but any third party dependency is not recognized by module-info, which is a big issue for modular gradle projects. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816455#comment-16816455 ] Geertjan Wielenga commented on NETBEANS-2004: - Why is Gradle a requirement for your JavaFX documentation? > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816395#comment-16816395 ] Jose Pereda commented on NETBEANS-2004: --- I'm in the process of updating [JavaFX and NetBeans|https://openjfx.io/openjfx-docs/#IDE-NetBeans] documentation with JavaFX 12 and after the NetBeans 11 release and the new gradle support. While the plugin is really great, it is quite unfortunate it doesn't support modular projects yet. It looks like only existing modules in the module path for NetBeans (so just those in the JDK) are recognized, but any third-party module added to the project's dependencies is not. So it is not just a JavaFX thing. For instance: {code:java} dependencies { implementation 'javax.xml.bind:jaxb-api:2.3.1' } {code} {code:java} module mymodule { requires java.logging; // <-- works requires java.xml.bind; // <-- doesn't work: "module not found" } {code} Somehow the modules added by the project should be included into the module-path that NetBeans has for the project, in the very same way that you can do this manually for Java projects (Properties -> Libraries -> Compile/Run -> ModulePath). Any tip on how to hack a temporary solution (like editing netbeans.conf to provide an extra module path option...)? Otherwise I'm afraid I have to remove the modular projects with NetBeans from the JavaFX documentation. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Critical > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16788175#comment-16788175 ] Laszlo Kishalmi commented on NETBEANS-2004: --- >From Scott Palmer: I just recently attempted to make a modular project. I’m using JavaFX so I tried the somewhat-official javafx gradle plugin and used the modular gradle example from here: [https://github.com/openjfx/samples/tree/master/CommandLine/Modular/Gradle/hellofx] NetBeans is not happy with this at all. module-info.java claims the javafx.controls module cannot be found The code editor complains about all the javafx imports stating that: "package javafx.scene is not visible (package javafx.scene is declared in the unnamed module, but module javafx.scene does not read it)" Does anyone know the solution? >From the command line ‘“gradle build” works without any complaints. It looks like NetBeans sees the JavaFX stuff as added to the class path instead of the module path. I can use JavaFX in a non-modular way, and I can hack the Gradle manually to insert —add-module and —module-path args to various build steps, but I was trying to do things based on the examples. Scott > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2004) No real Support for Gradle Modular Projects.
[ https://issues.apache.org/jira/browse/NETBEANS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16788176#comment-16788176 ] Laszlo Kishalmi commented on NETBEANS-2004: --- Unfortunately there is no trivial throw in solution to the problem, at least not one I know of, that support needs a proper implementation. I was trying to do something easy to provide classpath as module path to the IDE, but that did not really worked. Probably need to parse the Gradle created java command line arguments for that. > No real Support for Gradle Modular Projects. > > > Key: NETBEANS-2004 > URL: https://issues.apache.org/jira/browse/NETBEANS-2004 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Environment: Product Version: Apache NetBeans IDE Dev (Build > 20190127-unknown-revn) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+7 > Runtime: OpenJDK Runtime Environment 11.0.2+7 >Reporter: Jose Pereda >Assignee: Laszlo Kishalmi >Priority: Major > Attachments: Bildschirmfoto 2019-02-06 um 17.22.17.png, Captura de > pantalla 2019-01-27 a las 19.55.13.png, gradleJava.zip > > > Opening a gradle non-modular project works fine, but when the project is > modular, it shows errors all over the place. > However, Clean, Build, Run, or any of the gradle tasks work fine. > !Captura de pantalla 2019-01-27 a las 19.55.13.png|width=1328,height=789! > > See OpenJFX samples > [non-modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Gradle/hellofx] > and > [modular|https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Modular/Gradle/hellofx]. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists