Bug 30699

Summary: External JAR: no refresh in JavaModel if full build occurred before
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2003-01-31 05:32:24 EST
Build 20030129

In the following situation, a (full) build will hamper the detection of 
external JAR updates even if explicitly invoked (refresh action).

1. Project P
  +- refers to missing external jar p1.jar

2. Observe no pkg root for p1.jar in package view (ok), CP marker in task view.

3. Go to file system, and add p1.jar at proper location

4. Back into Eclipse, trigger a rebuild all action, observe CP marker is gone.

5. Trigger 'refresh' action in package view, observe that the model isn't 
updated (still no root for p1.jar).
Comment 1 Jerome Lanneluc CLA 2003-02-03 11:17:29 EST
Builder used to call getResolvedClasspath(...) which would cache the timestamps 
or external jars.

Changed it to cache the timestamps when the project is opened.
Comment 2 David Audel CLA 2003-02-13 05:17:23 EST
Verified.