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

Lou Hamersly commented on NETBEANS-2371:
----------------------------------------

The recent 1.0.1 patch did fix a worse issue I posted the other day, but I 
think I'm seeing the same issue as Shevek here with the same repo: 
[https://github.com/jMonkeyEngine/jmonkeyengine] 

I've been able to reproduce it here (on Linux) like this: 
 * Load root project and all subprojects (close jme3-android-examples, I think 
this error can be ignored as unrelated)
 * There may be a few flagged red immediately; opening any file (I don't even 
need to build or edit/save) makes the flag vanish
 * Do a "gradle clean" from the project root
 * Wait a bit, red flags start popping up. A build on the subproject tends to 
remove the flag.
 * Open up one of the red flagged files. If there aren't missing import errors, 
I've seen this pretty reliably (post 1.0.1 patch) cause the "fake" error flag 
to vanish a second or two later.
 * Sometimes I'll need to do a manual clean/build inside NetBeans to resolve 
missing import errors, seems to be after a gradle clean from command line.

Jumping around between those steps, at least on my system, I can get these fake 
error flags to appear fairly reliably in at least one of the subprojects. Not 
sure if the "errors" after a command line build and clean can be helped, but 
maybe it'll help you track down a way to get NB to clear the flags on its own. 

> Gradle projects not properly loaded
> -----------------------------------
>
>                 Key: NETBEANS-2371
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2371
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.0
>         Environment: Netbeans 11
> Gradle 5
> Java 11
>            Reporter: Netbeans User 2019
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>         Attachments: org-netbeans-modules-gradle-java.nbm
>
>
> - gradle module (plugin) has problem to resolve dependencies in multi project 
> as seems I can removed reds only if I go over each one subproject and do 
> clean and build (clean and build on root has no affects) and additionally it 
> seems that for some test resources even this was not enough, but it seems 
> that works old trick so creation folder and adding some new class (possible 
> even delete) and possibly with including "refresh" from Action items window.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to