Bug 7916 - Code assist does not find class
Summary: Code assist does not find class
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 F3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-20 21:08 EST by Michael Fraenkel CLA
Modified: 2002-06-27 09:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.