Bug 10833

Summary: Open type doesn't propose all type after a checkout
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: dirk_baeumer, n.a.edgar, peter_burka
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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. ***