Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Annoying repeating message 'Building workspace' on status bar after I version controlled a project
Annoying repeating message 'Building workspace' on status bar after I version controlled a project [message #1396046] Mon, 07 July 2014 20:09 Go to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
- Eclipse Luna 4.4.0 (Build id: 20140612-0600)

After I added my first project to version in Eclipse using EGit I'm seeing an annoying message on the bottom status bar saying 'Building workspace' from every 10 seconds or so. I really have no idea why this is happening. The only thing that I know is that I can't live with this because it is annoying and distracting. If I can't fix this I will use git in the command line and abandon EGit.

How can I get rid of this?

Thank you.

Marcos

PS.: Cross-posted at http://stackoverflow.com/questions/24618015/annoying-message-building-workspace-on-status-bar-after-i-version-controlled-a

[Updated on: Mon, 07 July 2014 20:10]

Report message to a moderator

Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396409 is a reply to message #1396046] Tue, 08 July 2014 09:02 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 07/07/2014 22:09, Marcos Antonio wrote:
> - Eclipse Luna 4.4.0 (Build id: 20140612-0600)
>
> After I added my first project to version in Eclipse using EGit I'm
> seeing an annoying message on the bottom status bar saying 'Building
> workspace' from every 10 seconds or so. I really have no idea why this
> is happening. The only thing that I know is that I can't live with this
> because it is annoying and distracting. If I can't fix this I will use
> git in the command line and abandon EGit.
>
> How can I get rid of this?
>
> Marcos
>
> PS.: Cross-posted at
> http://stackoverflow.com/questions/24618015/annoying-message-building-workspace-on-status-bar-after-i-version-controlled-a
>

Try to set all files in your project (or even workspace, if there's more
than just your project) to be read-only. See what happens. It's a long
shot, but maybe you get something in the error log that gives an indication.

Felix
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396489 is a reply to message #1396409] Tue, 08 July 2014 11:23 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
This isn't caused by EGit.
Switch off auto-build here "Project > Build Automatically"
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396511 is a reply to message #1396489] Tue, 08 July 2014 11:58 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 13:23, Matthias Sohn wrote:
> This isn't caused by EGit. Switch off auto-build here "Project > Build
> Automatically"

Hmm, well I guess he still wants auto build, but it seems to be
triggered too often.
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396627 is a reply to message #1396489] Tue, 08 July 2014 15:11 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Matthias Sohn wrote on Tue, 08 July 2014 11:23
This isn't caused by EGit.
Switch off auto-build here "Project > Build Automatically"


This is not a solution to me because I still want to build automatically.
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396628 is a reply to message #1396409] Tue, 08 July 2014 15:14 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Felix Dorner wrote on Tue, 08 July 2014 09:02
On 07/07/2014 22:09,
Try to set all files in your project (or even workspace, if there's more
than just your project) to be read-only. See what happens. It's a long
shot, but maybe you get something in the error log that gives an indication.

Felix


Good idea. I did this, but unfortunately no error is raised. When I disconnect the Project (Context Menu > Team > Disconnect) the problem goes away, the workspace in only built if I change something, as usual.

Marcos
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396641 is a reply to message #1396628] Tue, 08 July 2014 15:35 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
This is very frustrating to say the least. Eclipse should provide a way for the user to see what's triggering the workspace build. I've been studying git and EGit for the last two weeks to use it for the first time and now this EGit plugin is getting on the way and we have no clue what to do.
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396703 is a reply to message #1396641] Tue, 08 July 2014 17:07 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 17:35, Marcos Antonio wrote:
> This is very frustrating to say the least. Eclipse should provide a way
> for the user to see what's triggering the workspace build. I've been
> studying git and EGit for the last two weeks to use it for the first
> time and now this EGit plugin is getting on the way and we have no clue
> what to do.

I think there's a way called 'tracing':

Create a file named .options (In windows create options.txt and then
rename) in your eclipse directory. Put the lines below in there and run
your eclipse.

Not every option might be needed, I have no idea how much this will
print, but it might tell you finally what causes your project to be
built :) You may want to redirect eclipse output to a file.


#
# Debugging options for the org.eclipse.core.resources plugin.
# Turn on debugging for the org.eclipse.core.resources plugin.
org.eclipse.core.resources/debug=true

# Monitor builders and gather time statistics etc.
org.eclipse.core.resources/perf/builders=10000

# Monitor resource change listeners and gather time statistics etc.
org.eclipse.core.resources/perf/listeners=500

# Monitor workspace snapshot and gather time statistics etc.
org.eclipse.core.resources/perf/snapshot=1000

# Monitor workspace snapshot and gather time statistics etc.
org.eclipse.core.resources/perf/save.participants=500

# Debug build failure cases such as failure to retrieve deltas.
org.eclipse.core.resources/build/failure=true

# Reports the cause of autobuild interruption
org.eclipse.core.resources/build/interrupt=true

# Reports the start and end of all builder invocations
org.eclipse.core.resources/build/invoking=true

# Reports the start and end of build delta calculations
org.eclipse.core.resources/build/delta=true

# For incremental builds, displays which builder is being run
# and because of changes in which project.
org.eclipse.core.resources/build/needbuild=true

# Prints a stack trace every time an operation finishes that requires a
build
org.eclipse.core.resources/build/needbuildstack=true

# Prints a stack trace every time a build API method is called
org.eclipse.core.resources/build/stacktrace=false

# Report debug of workspace auto-refresh
org.eclipse.core.resources/refresh=true
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396704 is a reply to message #1396703] Tue, 08 July 2014 17:09 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 19:07, Felix Dorner wrote:
> On 08/07/2014 17:35, Marcos Antonio wrote:
>> This is very frustrating to say the least. Eclipse should provide a way
>> for the user to see what's triggering the workspace build. I've been
>> studying git and EGit for the last two weeks to use it for the first
>> time and now this EGit plugin is getting on the way and we have no clue
>> what to do.
>
> I think there's a way called 'tracing':

Oh, and I forgot to say that you need to run eclipse with the option -debug
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396708 is a reply to message #1396703] Tue, 08 July 2014 17:11 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 19:07, Felix Dorner wrote:
> On 08/07/2014 17:35, Marcos Antonio wrote:
>> This is very frustrating to say the least. Eclipse should provide a way
>> for the user to see what's triggering the workspace build. I've been
>> studying git and EGit for the last two weeks to use it for the first
>> time and now this EGit plugin is getting on the way and we have no clue
>> what to do.
>
> I think there's a way called 'tracing':

Also probably set the one below to true:

# Prints a stack trace every time a build API method is called
org.eclipse.core.resources/build/stacktrace=true
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396733 is a reply to message #1396708] Tue, 08 July 2014 17:58 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Well, I did what you suggested and I see messages like these:

Tue Jul 08 14:54:22 GMT-03:00 2014 - [Worker-10] Auto-Build requested, needsBuil
d: false state: 0 delay: 100
Tue Jul 08 14:54:22 GMT-03:00 2014 - [Worker-10] Auto-Build requested, needsBuil
d: false state: 4 delay: 100
Tue Jul 08 14:54:32 GMT-03:00 2014 - [Worker-10] Auto-Build requested, needsBuil
d: false state: 0 delay: 100
Tue Jul 08 14:54:32 GMT-03:00 2014 - [Worker-3] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:54:42 GMT-03:00 2014 - [Worker-2] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:54:42 GMT-03:00 2014 - [Worker-2] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:54:52 GMT-03:00 2014 - [Worker-12] Auto-Build requested, needsBuil
d: false state: 0 delay: 100
Tue Jul 08 14:54:52 GMT-03:00 2014 - [Worker-12] Auto-Build requested, needsBuil
d: false state: 4 delay: 100
Tue Jul 08 14:55:02 GMT-03:00 2014 - [Worker-7] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:55:03 GMT-03:00 2014 - [Worker-6] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:55:12 GMT-03:00 2014 - [Worker-2] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:55:13 GMT-03:00 2014 - [Worker-1] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:55:23 GMT-03:00 2014 - [Worker-11] Auto-Build requested, needsBuil
d: false state: 0 delay: 100
Tue Jul 08 14:55:23 GMT-03:00 2014 - [Worker-5] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:55:33 GMT-03:00 2014 - [Worker-3] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:55:33 GMT-03:00 2014 - [Worker-12] Auto-Build requested, needsBuil
d: false state: 4 delay: 100
Tue Jul 08 14:55:43 GMT-03:00 2014 - [Worker-9] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:55:43 GMT-03:00 2014 - [Worker-6] Auto-Build requested, needsBuild
: false state: 4 delay: 100
Tue Jul 08 14:55:53 GMT-03:00 2014 - [Worker-3] Auto-Build requested, needsBuild
: false state: 0 delay: 100
Tue Jul 08 14:55:53 GMT-03:00 2014 - [Worker-5] Auto-Build requested, needsBuild
: false state: 4 delay: 100

But I don't see any clues or hints where the problem lies. Auto-Builds are requested all the time, but the needsBuild is always false as you can see. I think that this bug is related:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=344090

Although in this bug they're not using EGit. Also I think that there's no solution there.

Any ideas?

[Updated on: Tue, 08 July 2014 18:22]

Report message to a moderator

Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396779 is a reply to message #1396733] Tue, 08 July 2014 19:30 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 19:58, Marcos Antonio wrote:

> But I don't see any clues or hints where the problem lies. Do they mean
> something to you?

That means that you don't actually have a problem and I wasted a bit of
time :)

I haven't had looked ever before but I can now confirm you that I get
the same messages blinking up. The difference seems to be you staring at
the task bar and me staring at the things I need to get done more in the
central area of my screen.

I don't know why auto-build needs a timer, I thought it was based on
resource change events, but tbh, I don't care.


Felix
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1396812 is a reply to message #1396779] Tue, 08 July 2014 20:40 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Felix Dorner wrote on Tue, 08 July 2014 19:30
On 08/07/2014 19:58, Marcos Antonio wrote:

> But I don't see any clues or hints where the problem lies. Do they mean
> something to you?

That means that you don't actually have a problem and I wasted a bit of
time Smile

I haven't had looked ever before but I can now confirm you that I get
the same messages blinking up. The difference seems to be you staring at
the task bar and me staring at the things I need to get done more in the
central area of my screen.

I don't know why auto-build needs a timer, I thought it was based on
resource change events, but tbh, I don't care.


Felix


Maybe you didn't realise how your second paragraph was a bit unprofessional. Anyway, if you cannot be distracted by a status bar flickering almost all the time with a message that doesn't add anything to your work, I admire your concentration. In my point of view this is by no way normal and there's a problem going on with Eclipse regarding this. Contrary to what you said, even if someone is looking at the central area of the screen, he still will see the message blinking up.

For the time being I'll abandon EGit and try the command line git. If someone on the Eclipse team has a solution to this and want to share, I'll be grateful.

This is really not right (maybe the processing in the background, but not the useless and distracting message to the user)

Thank you.

Marcos

[Updated on: Tue, 08 July 2014 20:41]

Report message to a moderator

Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1397122 is a reply to message #1396812] Wed, 09 July 2014 08:22 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 295
Registered: March 2012
Senior Member
On 08/07/2014 22:40, Marcos Antonio wrote:
> Contrary to what you said, even if someone is looking at the
> central area of the screen, he still will see the message blinking up.

Perception is different for everyone. I had never noticed it before.

I have just tested with a disconnected Java Project and can also confirm
that the Message does not blink up in this case. However, the tracing
console still shows the auto build requests. The only explanation I
might have is that maybe the job manager has more stuff to do when EGit
is active and thus shows slightly different behavior.

Felix
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1397258 is a reply to message #1397122] Wed, 09 July 2014 13:01 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Felix Dorner wrote on Wed, 09 July 2014 08:22
On 08/07/2014 22:40, I have just tested with a disconnected Java Project and can also confirm
that the Message does not blink up in this case. However, the tracing
console still shows the auto build requests. The only explanation I
might have is that maybe the job manager has more stuff to do when EGit
is active and thus shows slightly different behavior.

Felix


In my opinion, I think that Eclipse (by the way, any IDE) should have the idea and concept of what notifications should be relevant to the user. If some plugin needs to do lots of processing internally to accomplish its responsabilities the end user should not pay the price because of this.

When we save some java file in the workspace and auto build is enable of course we want to be notified in the status bar that there's a build going on, but in this case as the debug message points out:

Tue Jul 08 14:55:53 GMT-03:00 2014 - [Worker-5] Auto-Build requested,
needsBuild: false state: 4 delay: 100

you can even see that needsBuild is false. I mean, if there was a distinguishing of what messages are relevant to show to the user or not, a message for a thing like this would not be displayed because it doesn't add any relevant information to the end user (and in my case, as I percept the message, annoys as well).

Marcos
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1397868 is a reply to message #1397258] Thu, 10 July 2014 09:13 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
I filed a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=439325 to track this problem
Please continue follow-up discussions there.
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1398220 is a reply to message #1397868] Thu, 10 July 2014 20:22 Go to previous messageGo to next message
Marcos Antonio is currently offline Marcos AntonioFriend
Messages: 18
Registered: July 2009
Junior Member
Matthias Sohn wrote on Thu, 10 July 2014 09:13
I filed a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=439325 to track this problem
Please continue follow-up discussions there.


Thanks for doing this. Getting rid of this issue will benefit everyone. I'll post my "workaround" there.
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1407666 is a reply to message #1398220] Wed, 13 August 2014 06:58 Go to previous messageGo to next message
Lars Neumeier is currently offline Lars NeumeierFriend
Messages: 1
Registered: June 2013
Junior Member
This has something to do with the current EGit/JGit release 3.4.1. The problem exist only after connecting a project with EGit 3.4.1 without EGit or using Egit 3.2 everything is OK. (Eclipse version 3.8.2)
Re: Annoying repeating message 'Building workspace' on status bar after I version controlled a proje [message #1420081 is a reply to message #1407666] Tue, 09 September 2014 13:24 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439325 was fixed so you need to upgrade to the nightly build to get the fix.
This fix will be included in EGit 3.5 which we plan to release on Sept 24.
Previous Topic:Execute custom command after performing pull using eGit
Next Topic:Delete a file on remote repository via Egit
Goto Forum:
  


Current Time: Thu Apr 25 16:29:55 GMT 2024

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

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

Back to the top