Martin Balin created NETBEANS-5540:
--------------------------------------
Summary: package x.y.z does not exist for Gradle multiproject
Key: NETBEANS-5540
URL: https://issues.apache.org/jira/browse/NETBEANS-5540
Project: NetBeans
Issue Type: Bug
Components: projects - Gradle
Affects Versions: 12.4
Environment: NB 12.4 Beta1, macOS, Java(TM) SE Runtime Environment
18.9 (build 11.0.10+8-LTS-162)
git clone https://github.com/micronaut-projects/micronaut-test.git
Reporter: Martin Balin
Assignee: Laszlo Kishalmi
Fix For: 12.4
Attachments: Screenshot 2021-04-04 at 10.42.30.png, messages.log.1
Unpacked NB 12.4 beta1. Started fresh no user dir, no import of settings.
Run NB, install nb-javac when requested.
Open micronaut-test, previously cloned from
[https://github.com/micronaut-projects/micronaut-test|https://github.com/micronaut-projects/micronaut-test.]
I did not check the check box, trust the project in Project open dlg.
When top level project is open NB asks for Resolve problems, click Resolve,
then open test-junit5, Resolve Problems step is done, subproject is open.
It looks like attached screenshot.
Performing Clean & Build on project in NB does not fix this.
Close NB, run {{./gradlew build}} on top level project in terminal, same JDK
used, it builds the project successfully.
Open the multi project in NB again, still same errors displayed. See attached
screenshot and log file from this session.
In the next step I delete .gradle folder in micronaut-test, removed NB user
dir, start from scratch. In Open Project dlg I checked Trust the project.
Resolve Problems dlg appears for top level project with two problems: Priming
build and Trust the project. Click Resolve button, it gets green.
Then open test-junit5, Resolve Problems project appears and it is empty. Source
files are open with with same errors as previously in attachment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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