Java incremental build unexpected behaviour [message #910835] |
Mon, 10 September 2012 09:23  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #910879 is a reply to message #910857] |
Mon, 10 September 2012 10:56  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08630 seconds