Bug 91869 - PDE requires importing indirectly referenced plugins at compile time whereas not necessary at build time
Summary: PDE requires importing indirectly referenced plugins at compile time whereas ...
Status: RESOLVED DUPLICATE of bug 73957
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 08:02 EDT by Richard Birenheide CLA
Modified: 2006-04-09 21:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Birenheide CLA 2005-04-19 08:02:03 EDT
Having a dependency chain of three plugins A -> B -> C where B extends a class 
or implements an interface from plugin A in some class where this class is used 
in C, PDE requires plugin C to import plugin A (message: The type 
org.eclipse.jface.text.ITextListener cannot be resolved. It is indirectly 
referenced from required .class files) if plugin B does not export the 
dependency. In contrast to that, exporting that dependency is not required at 
runtime.
Comment 1 Richard Birenheide CLA 2005-05-03 08:32:42 EDT
When maintaining the plugin.xml in the PDE workbench it is possible to "Find 
unused dependencies". Running that the plugins which are needed at cmpile time 
for the indirect references, are marked as not necessary (as they are not 
necessary at runtime). However, removing these from the dependencies list leads 
to the compile errors described above.
Comment 2 Wassim Melhem CLA 2006-02-16 10:50:42 EST
The Find Unused Dependencies of course is correct, but makes the compiler unhappy.

see bug 73957 for details.

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