Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4938

Missing sources & co. after creating Gradle Frontend App in 12.2-beta2

    XMLWordPrintableJSON

    Details

      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

            Activity

              People

              • Assignee:
                lkishalmi Laszlo Kishalmi
                Reporter:
                jtulach Jaroslav Tulach
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h