Community
Participate
Working Groups
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.
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.
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 ***