Bug 7916

Summary: Code assist does not find class
Product: [Eclipse Project] JDT Reporter: Michael Fraenkel <fraenkel>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 F3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Michael Fraenkel CLA 2002-01-20 21:08:36 EST
0109 Win32 Integration

I have Project 1 and Project 2.  I added external JARs to Project 1 which are 
exported.  Project 2 depends on Project 1.  When I try to use Code Assist to 
match classes in the external JARs of Project 1, nothing is appearing.  This 
started to happen once I updated the external JARs with a new version.

If I fully qualify or import classes, compiles work no problem.  I can use F3 
and F4 without a problem.  Ctrl-Space just shows a list of possible matches 
but none from the external JARs.
Comment 1 David Audel CLA 2002-02-12 05:37:32 EST
Problem is that an updated jar is not reindexed.
Comment 2 Philipe Mulet CLA 2002-06-05 09:04:21 EDT
Pls verify in latest
Comment 3 David Audel CLA 2002-06-06 05:13:21 EDT
Now jar can be reindexed.

If you update the jar in the file system, you need to update the jar in the 
workspace. To perform this update refresh the project of the jar (File>Refresh).
After this operation CodeAssist works.

Closing.
Comment 4 Michael Fraenkel CLA 2002-06-12 10:09:38 EDT
Using the 0610 Win32 build.
I select my JAR that shows as a library in my project.  When I select File, 
Refresh is disabled.

There seems to be a condition in which the Refresh is enabled vs disabled.  We 
have our own Source/Binary projects and it seems that JARs within our Binary 
projects always have it disabled and the JARs built with Source projects are 
enabled.
Comment 5 David Audel CLA 2002-06-12 10:56:44 EDT
you need to select the project which contain the jar and select File>Refresh.
Comment 6 David Audel CLA 2002-06-12 11:12:55 EDT
Re-closing
Comment 7 Michael Fraenkel CLA 2002-06-23 18:33:25 EDT
0620 Win32

I put a new JAR in a project and did the File->Refresh against the Project.
My other projects which import this one do not see the new classes that are 
available.
Comment 8 Michael Fraenkel CLA 2002-06-23 18:39:44 EDT
You can close this... It was user error.
Comment 9 Jerome Lanneluc CLA 2002-06-27 09:22:12 EDT
Closing.