You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/06 01:18:59 UTC

[GitHub] [netbeans] aplatypus opened a new issue, #4585: Netbeans 14 Gradle 7.4 project load problems

aplatypus opened a new issue, #4585:
URL: https://github.com/apache/netbeans/issues/4585

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   * We consistiently see these warnings on root project and sub-project loads:
   ```
   Cannot load: <subproject path>
   ```
   * Where the reason involves Gradle 7.4
   * Projects are set in Netbeans to use the project `gradlew` version: 7.2 
     * Which is set in the Gradle tab of the options panel
   * It is evidently a problem with larger implications as projects report errors and such even following successful builds
   * Gradle when run from the command line is always successful.
   
   See also
   * #4554
   * #4239
   which seem to be related to these problems.
   
   ### How to reproduce
   
   * Set-up a Gradle project using `gradlew` and Gradle v7.2
   * Open project in netbeans
   * Clear user and netbeans gradle caches (or begin with a clean install)
   * Load and build projects
   
   You should be seeing these warnings on sub-project loads:
   ```
   Cannot load: <subproject path>
   ```
   * Where the explaination involves Gradle 7.4
   * Our projects all use the same Gradle version 7.2 which is set in the Gradle options panel
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.4
   
   ### Operating System
   
   Ubuntu 22.04.1 LTS
   
   ### JDK
   
   Zulu18.30+11-CA
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4585: Netbeans 14 Gradle 7.4 project load problems

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4585:
URL: https://github.com/apache/netbeans/issues/4585#issuecomment-1239598679

   As @lkishalmi mentioned elsewhere, Gradle 7.2 does not support JDK 18 - https://docs.gradle.org/current/userguide/compatibility.html 
   
   Also, please specify if the JDK you're using on the CLI and/or in the project properties differs from the one running the IDE.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi commented on issue #4585: Netbeans 14 Gradle 7.4 project load problems

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on issue #4585:
URL: https://github.com/apache/netbeans/issues/4585#issuecomment-1240948499

   BTW. NetBeans 15 is going to put a warning badge on the project in such configurations, and would propose some ways to fix the issue.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] lkishalmi closed issue #4585: Netbeans 14 Gradle 7.4 project load problems

Posted by GitBox <gi...@apache.org>.
lkishalmi closed issue #4585: Netbeans 14 Gradle 7.4 project load problems
URL: https://github.com/apache/netbeans/issues/4585


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists