Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Incremental compilation comes and goes
Incremental compilation comes and goes [message #334464] Tue, 10 February 2009 18:00 Go to next message
Miles Daffin is currently offline Miles DaffinFriend
Messages: 86
Registered: July 2009
Member
Folks,

Some of our users are having problems with incremental compilation
breaking (at least not working). All are using 3.4.1 (M20080911-1700).
Project -> Build Automatically is checked. For some it never works. For
others it works sporadically. Has anyone else seen this? Does anyone have
any idea what might be causing this? (I have checked the logs and can see
nothing obvious.)

Thanks,

Miles
Re: Incremental compilation comes and goes [message #334466 is a reply to message #334464] Tue, 10 February 2009 18:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 2/10/2009 1:00 PM, Miles Daffin wrote:
> Folks,
>
> Some of our users are having problems with incremental compilation
> breaking (at least not working). All are using 3.4.1 (M20080911-1700).
> Project -> Build Automatically is checked. For some it never works. For
> others it works sporadically. Has anyone else seen this? Does anyone
> have any idea what might be causing this? (I have checked the logs and
> can see nothing obvious.)

The first thing I would "check" is how the users are determining that
"it's not working." Incremental compilation can be very fast and
purposefully works to minimize the amount of work it has to do, so to
some users it may seem like "it's not working."
Second, I'd check that there are no build path errors on any of the
projects; Eclipse can't build anything in a project that has build path
problems, so it can look like compile is "broken."

Hope this helps,
Eric
Re: Incremental compilation comes and goes [message #334468 is a reply to message #334464] Tue, 10 February 2009 20:28 Go to previous message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Miles Daffin" <miles.daffin@morganstanley.com> wrote in message
news:60a7d0bd229a67122c8b2d64c01db86c$1@www.eclipse.org...
> Folks,
>
> Some of our users are having problems with incremental compilation
> breaking (at least not working). All are using 3.4.1 (M20080911-1700).
> Project -> Build Automatically is checked. For some it never works. For
> others it works sporadically. Has anyone else seen this? Does anyone have
> any idea what might be causing this? (I have checked the logs and can see
> nothing obvious.)

I've seen incremental compilation fail when some build steps silently fail -
worst offender in my experience was XML validators in WTP, but that was a
couple years ago so it might have been fixed. I've also seen something that
looks like this when using the Maven M2Eclipse plug-in; it seems that it
gobbles up the status bar message and then leaves it blank while it either
does or does not continue compiling behind the scenes, so sometimes I'll
save a file and it'll seem that nothing is happening and then a few minutes
later I'll see problems. I've never seen this in a plain JDT install, I
have only ever seen it with WTP or with Maven, but I assume that other
builders or validators could cause similar bugs.

As Eric says, it would be good to know more about the exact symptoms.

When you say you can "see nothing obvious" in the error logs, does that mean
that there are errors happening but they appear unrelated?
Previous Topic:Problem decorator in Project Explorer does not display under Eclipse Platform distro
Next Topic:command and global action ..
Goto Forum:
  


Current Time: Sat Nov 09 03:55:36 GMT 2024

Powered by FUDForum. Page generated in 0.02440 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top