Bug 5007 - Project classpath references do not follow class folders
Summary: Project classpath references do not follow class folders
Status: RESOLVED FIXED
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 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-15 21:14 EDT by Jed Anderson CLA
Modified: 2002-01-14 11:50 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 Jed Anderson CLA 2001-10-15 21:14:29 EDT
Setup:
Project A


If I have two projects, A & B and A has a class folder which contains the
package foo and the class (in foo) foo.Bar
Comment 1 Jed Anderson CLA 2001-10-15 21:21:49 EDT
Sorry, tab+enter did me in.  I'll try and finish my bug reports before I submit
them in the future :).

Setup:

Project A: contains compilation unit FooBar.java

public class FooBar {
  public void foo() {
    new foo.Bar();
  }
}
Project B: contains _class_folder_ classes, in classes is package foo, in foo is
classfile Bar.class

The compilation error message in the task list is "foo cannot be resolved or is
not a type".

Now add project B to the classpath of project A.  The error does not go away,
even though foo.Bar is clearly a part of project B.
Comment 2 Kent Johnson CLA 2001-12-10 17:04:11 EST
Closed - not reproducable with new builder.

All classpath changes using the new builder result in the entire project being 
rebuilt.