Bug 24213 - [M1] dependency checking too conservative
Summary: [M1] dependency checking too conservative
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.1 M3   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-30 03:47 EDT by Ilja Preuss CLA
Modified: 2003-03-23 12:26 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilja Preuss CLA 2002-09-30 03:47:38 EDT
For example, the rename refactoring on a local variable sometimes causes a 
whole bunch of other projects to rebuild, which obviously wouldn't be 
necessary. This can be very inconvenient if you have many big projects in the 
workspace...
Comment 1 Philipe Mulet CLA 2002-09-30 05:17:22 EDT
Kent - can you please double check what would be going on ? Would refactoring 
touch all these source files for no particular reason ?
Comment 2 Kent Johnson CLA 2002-09-30 16:02:41 EDT
Tried to reproduce but didn't see anything abnormal. Only the one file was 
being recompiled.

Ilja: can you reproduce with the builder trace enabled?

Start eclipse with a command line like:

d:\R2.0\eclipse\eclipse.exe -debug -consolelog -data d:\R2.0\workspace\plugins -
vm d:\jdk1.3\bin\java.exe -vmargs -Xmx150mb

Make sure to run java.exe not javaw.exe with -debug -consolelog after creating 
a .options file in the same directory as eclipse.exe with:

# Turn on debug tracing for org.eclipse.jdt.core plugin
org.eclipse.jdt.core/debug=true

# Reports incremental builder activity
org.eclipse.jdt.core/debug/builder=true
Comment 3 Kent Johnson CLA 2002-10-04 10:47:37 EDT
Ilja: can you reproduce with the builder trace enabled? We need more 
information...
Comment 4 Ilja Preuss CLA 2002-10-07 02:06:42 EDT
I currently don't have the time, sorry (it's a little bit complicated because 
we have a network installation of eclipse). Possibly I will find the time at 
the end of the week.
Comment 5 Kent Johnson CLA 2002-10-21 10:50:49 EDT
Tried to reproduce but could not. Reopen if you find repeatable steps.