Bug 18680 - Classpath Loop
Summary: Classpath Loop
Status: RESOLVED DUPLICATE of bug 19303
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 F3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 06:34 EDT by Gunnar Wagenknecht CLA
Modified: 2002-06-07 12:31 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 Gunnar Wagenknecht CLA 2002-06-03 06:34:32 EDT
I noticed a serious problem in Eclipse F2 but I didn't figure out yet, how to 
reproduce this. I will try next days with a new workspace but couldn't because 
of anoter bug 18677.

Environment config:

- imported plugin project A (from "com.ibm.etools.draw2")
required plugins: org.eclipse.swt + org.eclipse.ui
reexports: ECLIPSE_HOME/plugins/org.eclipse.swt/win32_2.0.0/ws/win32/swt.jar

- created plugin project B
required plugins: org.apache.xerces

-created plugin project C
requires plugins: none

- created plugin project D
required plugins: org.eclipse.core.runtime, org.eclipse.core.resources, 
org.eclipse.ui, org.eclipse.jdt.core, org.eclipse.jdt.ui, 
org.eclipse.launching, org.apache.xerces, B, C

- created plugin project E
required plugins: org.eclipse.core.resources, org.eclipse.ui, 
com.ibm.etools.gef, com.ibm.etools.draw2d, B, C, D

- created JAVA project F
project dependencies: A, D, E
library dependencies: ECLIPSE_HOME/plugins/org.eclipse.ui_2.0.0/workbench.jar

Now while editing classes of JAVA project F, various problems occours that IMHO 
should have the same cause. 

These problems are:

1.
Code Assist could not find _ANY_ classes except the current one I'm editing. 
Even classes of the same project could not be found. (Navigate->Open Type shows 
up all available classes). 
Code Completion for members and vars of already imported classes work but not 
for class names. 
Code Completion also doesn't work for constructors. If I type a class and try 
to invoke Code Assist to find available constructors, Message "No Completions 
found" appears in status bar.

2.
If I remove library workbench.jar from project F library dependencies, class 
names are found, but Code Assist shows incorrect member information for one 
class of project E. Some members are missing. Code Assists also doesn't work on 
constructors for some classes of project D.

3. If I remove project E from project dependencies, everything works even. Even 
if I readd workbench.jar. Code Assist finds all classes, members and so on.

It's very difficult to reproduce this problem on other installations. If I find 
a way, I will post it ASAP. Maybe someone can have a look over affected code, 
to confirm there is no loop or anything else in building classpaths for Code 
Assist or compiler.
Comment 1 David Audel CLA 2002-06-04 12:26:20 EDT
I can not reproduce this bug.

Gunnar - Could you give me a more specific test case ?
Comment 2 Gunnar Wagenknecht CLA 2002-06-04 15:01:38 EDT
I currently working on a testcase but I didn't manage to build one yet. It 
seems a very specific problem with our development projects but I can't 
publish them.

Please don't close this bug, I will provide a testcase ASAP I could figure out 
how to reproduce it.
Comment 3 Philipe Mulet CLA 2002-06-06 06:31:21 EDT
Gunnar - a build will happen today, with a fix for a reproduceable bug with 
similar symptoms (bug 19303). Let us know if this addresses your problem as 
well.
Comment 4 Gunnar Wagenknecht CLA 2002-06-07 06:10:53 EDT
I could no reproduce the error with the last build. Seems to be fixed now.
Thanks.
Comment 5 Philipe Mulet CLA 2002-06-07 12:31:46 EDT
Thanks, closing as duplicate.

*** This bug has been marked as a duplicate of 19303 ***