This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It it cost me half an hour when I open a grails project that contain a lot of Controller and Domain class. These Controller and Domain class I not put them in the root package but sub package. The state bar show the follow infomation all the time : Indexing D:\(my project path) Scanning D:\(my project path)
Created attachment 65814 [details] my grails project
Created attachment 65815 [details] the state bar
*** Issue 141896 has been marked as a duplicate of this issue. ***
Can you count all groovy files in your project? How many of them you have. And also what si the average number of line in those files?
Also, if controller is in graduate directory, is it in code marked as class located in graduate package? I mean, if it has in class this statement: package graduate
1. It has 275 groovy files in my project,the average number of line in those files is 65. 2. Yes,it has this statement : package graduate btw,I can open this project quickly use other IDE.
*** Issue 142004 has been marked as a duplicate of this issue. ***
Hmm, I tried to create bigger project with hundreds of groovy classes but scanning took about 36 seconds. I know there have been some issues in infrastructure, that should be fixed now, can you please try latest nightly build?
martin_adamek,thanks for your attention on the issues. I try the latest nightly build 200808060201,but the issues all the same. The scaning of the source folders takes half an hour.
I guess that you cannot attach your project here, is that right?
I am try attach my project but fail,the network speed is so low that I cann't upload. I will try soon.
Created attachment 66703 [details] my grails project that has delete lib and plugins
Ok, now I am able to reproduce it and I am investigating.
Ugly bug in NB infrastructure causing recompilation of all source on every startup is fixed and that means 2nd and all other starts of IDE are fast now. Remaining problem is the initial scan in fresh IDE, which takes really long time. I'll try to do something about it.
This should be fixed together with rewrite to parsing API. It is the same area. The parsing API can help a lot.
Now we have the parsing API merged. We should try to achieve further optimization.
*** This bug has been marked as a duplicate of bug 180230 ***