You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2019/05/21 05:48:00 UTC

[jira] [Commented] (NETBEANS-2561) Gradle sub-projects report missing packages, but successful builds

    [ https://issues.apache.org/jira/browse/NETBEANS-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844520#comment-16844520 ] 

Laszlo Kishalmi commented on NETBEANS-2561:
-------------------------------------------

I think this one is a duplicate of NETBEANS-2371

Thank you for sharing a project large enough to test it! It is a great help!

> 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 / Windows
>            Reporter: Lou Hamersly
>            Priority: Major
>         Attachments: jme3-2.png, 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists