Bug 20048 - Minimize recompilation
Summary: Minimize recompilation
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-12 12:37 EDT by Philippe Krief CLA
Modified: 2002-06-14 05:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Krief CLA 2002-06-12 12:37:16 EDT
Hi,
I'm currently changing the core of my framework. The side effect of that is 
that each time I save my code, Eclipse recompiles all the dependencies attached 
to the project, not only the dependencies related to the current code, and I 
have a lot...
How can I get rid of that.
Thanks for your help
Philippe
Comment 1 Philipe Mulet CLA 2002-06-13 05:40:28 EDT
Please provide us with reproduceable steps. It should only recompile dependents 
affected by a structural change (i.e. signature change, visibility change, 
hierarchy change). 

If all you are touching is a method body, it should never cause dependent 
recompilation, unless you found a bug.

Once thing to try too is to activate the incremental builder trace, by adding 
the following lines to the .options file:

# Turn on debug tracing for org.eclipse.jdt.core plugin
org.eclipse.jdt.core/debug=true
# Reports incremental builder activity : nature of build, built state reading, 
indictment process
org.eclipse.jdt.core/debug/builder=true

then launch Eclipse with -debug mode, and make sure to use a java.exe (not a 
javaw.exe) VM exe, with a big console line size.
Comment 2 Philippe Krief CLA 2002-06-13 10:39:43 EDT
It seems that since I moved to F3, the problem is not reproductible...
Thanks
Philippe
Comment 3 Philipe Mulet CLA 2002-06-13 10:46:21 EDT
Fair enough. Closing then. Please reopen if symptoms occur again.