Bug 77310 - [builder] Build is building too many resources on save
Summary: [builder] Build is building too many resources on save
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-10-29 11:48 EDT by Mario Grgic CLA
Modified: 2009-08-30 02:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Grgic CLA 2004-10-29 11:48:59 EDT
Eclipse Platform

Version: 3.1.0
Build id: 200409240800 on windows 2003 server.

This is beginning to bother me more and more as I work with Eclipse. While the 
build is in progress (which takes 5 - 10 min, for about 10,000 classes), I 
can't do much with the IDE. It often locks up and doesn't respond to user 
input. But worst of all, you can not launch any custom external command, it's 
simply put on the queue and it has to wait for the build to finish. Not very 
productive.
Comment 1 Kim Horne CLA 2004-11-08 08:17:43 EST
Tod, any comments?
Comment 2 Tod Creasey CLA 2004-11-08 08:31:35 EST
A build will lock the workspace so any operation that also locks the workspace 
will have to wait. However the builder does this incrementally so it only 
holds onto projects as it needs them.

With 10,000 classes being built completely however I imagine things get 
blocked quite frequently. Can you not build incrementally? Why do you need a 
full build?
Comment 3 Mario Grgic CLA 2004-11-08 09:21:43 EST
> Can you not build incrementally? Why do you need a full build?

Well, that's another thing. I have auto refresh and build turned on in my 
preferences. I modify and save a file in project A, and Eclipse goes on and 
rebuilds projects B and C in addition to A, and I know 100% that B and C do 
not depend on A in any way, and in especially not the file I modified. I 
believe this is another unrelated problem. In addition, I often times get into 
a state where Eclipse can no longer resolve dependances between projects. It 
tells me A can't build before some other B  is built and it refuses to auto 
build B and recommends I do a complete clean up. This is why I find myself 
building the world a lot.

This did not happen in earlier versions of the Eclipse and with the same 
project structure.
Comment 4 Tod Creasey CLA 2004-11-08 09:29:06 EST
OK I think your real issue here is that the builder is locking the workspace 
for too long. Moving to JDT Core for comment.
Comment 5 Kent Johnson CLA 2004-11-22 11:30:53 EST
The root of all your problems looks to be your project dependencies.

Anytime a project cannot be built it affects every project that depends on it 
and can cause full builds to occur.

Are you sure you do not have any cycles between your projects' dependencies? 
Or classpath errors? Or missing types on your classpath?
Comment 6 Mario Grgic CLA 2004-11-23 09:29:40 EST
Yes, there are cycles and cyclic dependences between projects which the 
compiler deals with fine, when built from the makefile. Eclipse used to take 
care of this automatically too. I don't know if anything has been changed in 
this code in the later versions of Eclipse.
Comment 7 Philipe Mulet CLA 2005-04-07 08:56:08 EDT
Can you still reproduce in 3.1m6 ? If so, please reopen after having added steps
to reproduce.
Comment 8 Frederic Fusier CLA 2005-06-08 05:56:27 EDT
Close as there's more than 2 months without any feedback on this issue
=> consider it does no longer happen
Comment 9 Mario Grgic CLA 2005-06-08 08:56:25 EDT
Sorry for the lack of feedback. I could not use any post M3 build in production
environment because tabbing and indentation did not work correctly until M7.
Currently I'm running RC1 and I it's much better. The UI does not lock up any
more while the build is going on, so I don't notice any problems.
Comment 10 Denis Roy CLA 2009-08-30 02:08:18 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.