11

Is it possible to debug which process triggered a 'Building workspace' in Eclipse?

I have a Java project with some BIRT reports. While this project is open Eclipse restarts 'Building workspace' in an infinite loop.
I'm using Eclipse 3.6.1 with BIRT 2.6.1

1
  • Can you try to use the Process Monitor to find out which operation in the workspace triggers the build? As a filter, limit it to files in the workspace and only write operations. The files touched before a lot of *.class files are written is probably interesting. Jun 24, 2014 at 13:44

3 Answers 3

7

Having something open in another editor in the target directory of the project in which the problem is occurring can also cause an infinite "Build Workspace" loop.

3

probably related to Win7. I added my workspace repository to the Windows Explorer Favorites or Windows Explorer Libraries. This seems to write some data and trigger eclipse to rebuild.

9
  • 1
    Eclipse Bug 342931 - Windows 7 Libraries trigger rebuilds
    – bw_üezi
    May 16, 2011 at 7:08
  • 1
    This behavior is found on both Windows and Mac OS X. Aug 22, 2011 at 20:56
  • @Old McStopher my issue was specifically related to Eclipse Bug 342931. sure there are other issues/scenarios resulting in a similar effect.
    – bw_üezi
    Aug 23, 2011 at 7:16
  • 2
    This happens to me on Ubuntu linux as well. Probably this answer is wrong
    – Amir Uval
    Jan 9, 2013 at 11:51
  • Getting this also on Windows XP SP3.
    – 8bitjunkie
    Jun 11, 2013 at 15:17
2

Click Project tab on top of eclipse > uncheck "Build Automatically". This resolved the issue for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.