Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBeans shows dependency errors in Gradle projects that are successfully built #7738

Open
PavelTurk opened this issue Sep 7, 2024 · 0 comments
Assignees
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

Comments

@PavelTurk
Copy link

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:
Screenshot from 2024-09-07 12-28-45

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

@PavelTurk PavelTurk added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Sep 7, 2024
@mbien mbien added Gradle [ci] enable "build tools" tests JavaFX [ci] enable JavaFX job labels Sep 11, 2024
@sdedic sdedic self-assigned this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants