Bug 91979 - Strange classpath behaviour when re-exported
Summary: Strange classpath behaviour when re-exported
Status: RESOLVED DUPLICATE of bug 91772
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 15:54 EDT by Dejan Glozic CLA
Modified: 2005-04-19 18:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2005-04-19 15:54:02 EDT
I0419 , 8am build:

I have the following projects in the workspace:

org.eclipse.help
org.eclipse.help.base (includes org.eclipse.help and re-exports it)
org.eclipse.help.ui

I can see API interfaces (e.g. IToc) from org.eclipse.help in 
org.eclipse.help.ui. However, when I try to use internal classes from 
org.eclipse.help (e.g. Toc), I cannot. Code completion cannot find it.
Comment 1 Dejan Glozic CLA 2005-04-19 15:54:46 EDT
According to Wassim, it is not caused by PDE because access restrictions are 
turned off in the I build.
Comment 2 Philipe Mulet CLA 2005-04-19 17:30:06 EDT
If access restrictions are not enabled, this is probably classpath related,
which still is set by PDE.
Comment 3 Philipe Mulet CLA 2005-04-19 17:30:19 EDT
If access restrictions are not enabled, this is probably classpath related,
which still is set by PDE.
Comment 4 Wassim Melhem CLA 2005-04-19 17:33:35 EDT
dejan, check out the value of the pde container on each of the projects (right-
click on container and select configure...) and make sure the entries have the 
correct exported flag.

Also, does the code compile and only the code assist doesn't work as in 
Stefan's case?
Comment 5 Philipe Mulet CLA 2005-04-19 17:34:27 EDT
If it compiles fine, then I agree there might be an issue, and then it is a dup
of bug 91772
Comment 6 Wassim Melhem CLA 2005-04-19 17:43:49 EDT
I just verified that the help.base project reexports org.eclipse.help.
So this is identical to stefan's three project-scenario in bug 91772.

Also with PDE's latest code and last week's JDT, I could see all types that 
dejan could not see.
Comment 7 Dejan Glozic CLA 2005-04-19 18:27:07 EDT
The code compiles but code completion/assist cannot find internal class.
Comment 8 Philipe Mulet CLA 2005-04-19 18:31:58 EDT
Thanks for checking, this definitely sounds our bug.

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