NetBeans shows dependency errors in Gradle projects that are successfully built #7738
Labels
Gradle
[ci] enable "build tools" tests
JavaFX
[ci] enable JavaFX job
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
Apache NetBeans version
Apache NetBeans 22
What happened
After successful building entire Gradle project (JavaFX) NB shows dependency errors.
Language / Project Type / NetBeans Component
Java Gradle project with JPMS
How to reproduce
git clone https://github.com/openjdk/jfx
cd jfx
git checkout tags/22+1
In NB File -> Open project -> path to jfx folder.
JFX project -> right click -> Properties -> Build -> Gradle execution -> select JDK up to 19 version
Resolve all erros
JFX project -> right click -> Open in Terminal -> $./gradlew build -x test -Dorg.gradle.java.home=/opt/jdk-17.0.2
Now if you open any module, for example javafx.controls you will get:
Did this work correctly in an earlier version?
No / Don't know
Operating System
Ubuntu 20.04.6 LTS
JDK
Java: 22.0.1; OpenJDK 64-Bit Server VM 22.0.1+8-16
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: