Bug 10833 - Open type doesn't propose all type after a checkout
Summary: Open type doesn't propose all type after a checkout
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 8819 10307 11176 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-03-06 04:30 EST by David Audel CLA
Modified: 2002-03-28 05:37 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2002-03-06 04:30:06 EST
1) import a plugin as binary ( e.g. org.eclipse.jdt.core)
2) do ctrl+shift+T
3) type 'completione'
a proposal is CompletionEngine

4) checkout jdtcore as source from repository
5) do ctrl+shift+T and 'completione'
CompletionEngine is not in proposals

all the classes of jdtcore are not proposed.

another test case:
1) checkout jdtcore as source from repository
2) do ctrl+shift+T and 'completione'
CompletionEngine is in proposals
Comment 1 Jerome Lanneluc CLA 2002-03-12 05:50:56 EST
Suspecting an incompatibility between 1.0 plugins and 2.0 plugins. 1.0 plugins 
used to not export their jars in the classpath, thus dependent 1.0 plugins 
needed to reference the jars. 2.0 plugins don't have to do so.
Comment 2 David Audel CLA 2002-03-12 07:17:22 EST
The exact test case is :
1) import all plugins 1.0 as source
2) import resource 2.0 as source
3) checkout jdtcore from repository
4) rebuild all
4) do ctrl+shift+T
All jdtcore classes are not available.
Comment 3 Jerome Lanneluc CLA 2002-03-13 11:02:52 EST
There were 2 problems:
1. The indexes were not updated on a classpath change (from src_sources to ant, 
compiler, etc...) when adding jdtcore from the repository.
2. The indexes were not updated when a package fragment root was added or 
removed.

Fixed both cases.
Comment 4 Jerome Lanneluc CLA 2002-03-14 08:50:57 EST
*** Bug 11176 has been marked as a duplicate of this bug. ***
Comment 5 Philipe Mulet CLA 2002-03-25 05:12:26 EST
*** Bug 8819 has been marked as a duplicate of this bug. ***
Comment 6 Philipe Mulet CLA 2002-03-28 05:37:41 EST
*** Bug 10307 has been marked as a duplicate of this bug. ***