Lou H created NETBEANS-2561:
-------------------------------

             Summary: Gradle sub-projects report missing packages, but 
successful builds
                 Key: NETBEANS-2561
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2561
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Gradle
    Affects Versions: 11.0
         Environment: Linux Mint / Linux Solus (others reporting were likely on 
Windows)
            Reporter: Lou H
         Attachments: jme3.png

NetBeans 11 (w/Gradle integration) is reporting missing imports when loading an 
open source project.

I'm fairly sure it's just an issue with the new Groovy/Gradle plugin, having 
tried different configurations listed below. Also the Gradle build works fine 
from the command line, including running examples. A few others have seen the 
same problem and I've repeated it on two machines, so it's definitely not some 
localized issue.

Configurations tested so far: 
NetBeans 10 OpenJDK 8 Gradle 4.10.2 (using old Gradle plugin) - Success
NetBeans 10 OpenJDK 11 Gradle 4.10.2 (using old Gradle plugin) - Success*
NetBeans 11 OpenJDK 11 Gradle 4.10.2 - Errors reported (see screencap)*
NetBeans 11 OpenJDK 12 Gradle 4.10.2 - Errors reported (see screencap)
*Javadoc crash in one project due to apparent bug in JDK 9-11 but not a NB issue

With a "Clean and Build Project" (on the root or subprojects), Gradle output 
_reports_ build success, but NB still doesn't see the missing project 
dependencies. Using the "run" task on the examples project also works (right 
click jme3-examples sub-project->Run Gradle->Tasks->run), despite essential 
packages being reported missing.

Unfortunately I haven't yet been able to create a minimal project to reproduce 
the issues, but it should be fairly easy to reproduce by opening the root 
project and all subprojects in NB 11. 

[https://github.com/jMonkeyEngine/jmonkeyengine] 

I'm willing to try tracking down what's going on here, but might need some 
advice on a good method for doing so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to