Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
12.2
Description
I am trying to test
"New Project/Java with Gradle/Java Frontend Application"
on 12.2-beta2 of
bin/netbeans --userdir emptyud --jdkhome /jdk-11
the project is generated, but it only shows a single node "Build Scripts". Why?
Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a single node "Build Scripts".
Invoked "Reload Project". Now there are three nodes: "Configurations" (no children), "Build Scripts" and "Sub Projects" (no children).
Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! Opening the ":desktop" and ":web" projects seems to work OK. Just "DesktopMain" class contains an error (cannot find "Demo" class). The same for "BrowserMain" class. Giving up and restarting.
After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can also see the source packages for the main project (this time, it may not be fully reliable).
Creating another "New Project/Java with Gradle/Java Frontend Application" seems to exhibit the same behavior. E.g. only project with "Builds Scripts"... then two reload project actions - sub projects visible. But still no sources...
Attachments
Issue Links
- is duplicated by
-
NETBEANS-5227 Opening jbang gradle project does not work properly
- Resolved
- links to