banshaotang / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Updating resource descriptions takes forever #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install version 1.2.2.201202070201 in Eclipse CDT
2. Do a make clean (or save a file, anything that causes eclipse to update the 
project)

What is the expected output? What do you see instead?

"Updating resource description for ...proto (33/306)" in  the progress view.

What version of the product are you using? On what operating system?

Eclipse CDT
Version: Indigo Service Release 2
Build id: 20120216-1857
On Ubuntu 11.10

Please provide any additional information below.

It's OK to update resource descriptions, however it takes forever and seems to 
be repeating the same file (we do not have anywhere near 300+ or even 1100 
proto files in our project)

Original issue reported on code.google.com by g.h.vand...@gmail.com on 1 Mar 2012 at 6:49

GoogleCodeExporter commented 9 years ago
correction: repeating the same files

Original comment by g.h.vand...@gmail.com on 1 Mar 2012 at 6:50

GoogleCodeExporter commented 9 years ago
I saw something similar as well. One of the potential reasons is that, in order 
to fix a scoping-related bug, I turned off caching of qualified names.

This caching is turned on again in v1.2.3, which I'm going to release today (or 
Monday the latest.) Please give it a try once v1.2.3 is released. Since nothing 
else changed in our codebase, it may be a Xtext bug.

Thanks!
-Alex

Original comment by alr...@google.com on 2 Mar 2012 at 5:58

GoogleCodeExporter commented 9 years ago
v1.2.3 was released this morning. Please let me know if enabling caching back 
fixes the issue you are experiencing.

Thanks!
-Alex

Original comment by alr...@google.com on 5 Mar 2012 at 6:09

GoogleCodeExporter commented 9 years ago
Installed it and will let you know. Thanks for getting it out.

Original comment by g.h.vand...@gmail.com on 5 Mar 2012 at 7:26

GoogleCodeExporter commented 9 years ago
I tried it out today and it seems to be working fine again now. I think it was 
updating the resource descriptions once after I installed it and after that it 
didn't bug me anymore. I will let you know if I see something suspicious. 
Thanks!

Original comment by g.h.vand...@gmail.com on 6 Mar 2012 at 2:57

GoogleCodeExporter commented 9 years ago
great! I'm glad it is working for you. I'm going to close this issue. We can 
always reopened if performance didn't improve with caching.

Original comment by alr...@google.com on 6 Mar 2012 at 4:01

GoogleCodeExporter commented 9 years ago
Hmm unfortunatly I still see the issue. When I save a file (just a cpp file) it 
starts to build my workspace and in doing so it takes forever to update the 
resource descriptions (which all seem to be .proto files). 

Original comment by g.h.vand...@gmail.com on 7 Mar 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Thanks for the update. I reopened the issue. It would be really, really helpful 
if you could please attach a project that shows this behavior :)

Thanks!
-Alex

Original comment by alr...@google.com on 7 Mar 2012 at 8:25

GoogleCodeExporter commented 9 years ago
Unfortunately I haven't had the time to work on this issue. I'm going to marked 
to be fixed in 1.2.5. We need to release 1.2.4 soon.

Original comment by alr...@google.com on 12 Apr 2012 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 15 Apr 2012 at 6:48

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 21 Oct 2012 at 9:09

GoogleCodeExporter commented 9 years ago
r6d6434c2476c

Original comment by alr...@google.com on 22 Oct 2012 at 10:39