Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java incremental build unexpected behaviour(Java incremental build turns into systematic full re-build after a while.)
icon9.gif  Java incremental build unexpected behaviour [message #910835] Mon, 10 September 2012 09:23 Go to next message
Eclipse UserFriend
Hi,

I'm coming to this forum because I've been having this problem since several months
now, and after hours of search on internet, I didn't find any solution. Although, it seams that many others peoples have similar problems.

My problem is the following :

I using Eclipse Helios (build 201000917-0705)

I'm developping a quite complex application that consists of several plugins.

The source code of my plugins are stored outside my workspace, And I'm using the
'Import Existing Project into Workspace' feature to create the plugin projects in
my workspace.

After this import action, everything goes well. The incremental compile works as expected.

But after several hours, the incremental compile turns into a systematic full build which takes a lot of time.
It would re-build all Java source each time I change a single file.
Also, this re-build occurs even if I modify some files that have nothing to do with
java source code (XML resource files and GIF icons)

At this point I must completely delete my workspace directory
and do the project import again.

All this lead to a huge loss of time in my application development.


Could anyone give me some help on this ?

Thanks,
Re: Java incremental build unexpected behaviour [message #910854 is a reply to message #910835] Mon, 10 September 2012 09:57 Go to previous messageGo to next message
Eclipse UserFriend
On 10.09.2012 15:23, Anselme LEBRUN wrote:
> Hi,
>
> I'm coming to this forum because I've been having this problem since
> several months
> now, and after hours of search on internet, I didn't find any
> solution. Although, it seams that many others peoples have similar
> problems.
>
> My problem is the following :
>
> I using Eclipse Helios (build 201000917-0705)
>
> I'm developping a quite complex application that consists of several
> plugins.
>
> The source code of my plugins are stored outside my workspace, And I'm
> using the
> 'Import Existing Project into Workspace' feature to create the plugin
> projects in
> my workspace.
>
> After this import action, everything goes well. The incremental
> compile works as expected.
>
> But after several hours, the incremental compile turns into a
> systematic full build which takes a lot of time. It would re-build all
> Java source each time I change a single file.
> Also, this re-build occurs even if I modify some files that have
> nothing to do with
> java source code (XML resource files and GIF icons)
>
> At this point I must completely delete my workspace directory and do
> the project import again.
>
> All this lead to a huge loss of time in my application development.
>
>
> Could anyone give me some help on this ?
You can enable tracing to see why it actually thinks it needs to build.
To do that, create a config.ini file with this:

org.eclipse.jdt.core/debug=true
org.eclipse.jdt.core/debug/builder=true
org.eclipse.jdt.core/debug/builder/stats= true

Then launch your eclipse with -debug <pathToConfigIni> and log the stuff
into a file (it will be lots of data).

Next, file a bug report against Platform Resources and attach the
traces. Please cc me.

Dani
>
> Thanks,
>
Re: Java incremental build unexpected behaviour [message #910857 is a reply to message #910854] Mon, 10 September 2012 10:02 Go to previous messageGo to next message
Eclipse UserFriend
OK, I will do that.
I'll keep you in touch.
Thanks for your quick answer.

Anselme.
Re: Java incremental build unexpected behaviour [message #910879 is a reply to message #910857] Mon, 10 September 2012 10:56 Go to previous message
Eclipse UserFriend
I've done the experiment,
And the source of re-build is related to following cause in LOG file :

P/.org.eclipse.jdt.core.external.folders is not a Java project
Missing delta for: .org.eclipse.jdt.core.external.folders
Performing full build since deltas are missing after incremental request

I've search for this keyword on internet and found out that there was a bug related to it.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280888

According to this one, the bug should be fixed.

I guess I've fall into another corner case of this problem.
I'll try to investigate a little bit more. And re-open the bug eventually.

BR,
Anselme
Previous Topic:How to generate a valid abstract syntax tree with "..jdt.core.dom"
Next Topic:Need help with .jar usage
Goto Forum:
  


Current Time: Sat Jul 12 14:10:41 EDT 2025

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

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

Back to the top