Community
Participate
Working Groups
Created attachment 281808 [details] Editor Behaviour In Xtext we have plugins like "org.eclipse.xtext.ui" that import packages like "com.ibm.icu.text","org.apache.log4j", "org.apache.commons.lang" when i now add "org.eclipse.xtext.ui" to the required bundles of a plugin project, and open the class "org.eclipse.xtext.ui.editor.quickfix.ISimilarityMatcher" and hover on "org.apache.commons.lang.StringUtils" then the tooling thinks this is "com.sun.xml.internal.ws.util.StringUtils" if i have a look at the "Plugin-Dependencies" container the resolved bundles for the package imports are not there so the JDT tooling cannot resolve the "org.apache.commons.lang"-stuff. is this a bug? is this a feature? do i miss something?
Same in 4.12. This must be a bug in bundle dependencies resolving in PDE - at runtime, everything works. Julian - I believe you've hunted similar issues in the past?
At first glance, this looks like bug 534082 to me. Your plugin project's classpath container doesn't include the non-transitive dependencies from xtext.ui so JDT won't find o.a.commons.lang.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.