Java incremental build unexpected behaviour [message #910835] |
Mon, 10 September 2012 13:23 |
Anselme LEBRUN Messages: 3 Registered: September 2012 |
Junior Member |
|
|
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 13:57 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
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,
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03447 seconds