Community
Participate
Working Groups
When compiling org.eclipse.wst.wsdl.ui the following error occurs. As far as I can tell it seems to depend on an API that's not available. [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.19.0-SNAPSHOT:compile (default-compile) on project org.eclipse.wst.wsdl.ui: Compilation failure: Compilation failure: [ERROR] /buildroot/webtools.releng.aggregator/webtools.webservices/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java:[563,0] [ERROR] ClassLoader pluginClasssLoader = element.getDeclaringExtension().getDeclaringPluginDescriptor().getPlugin().getClass().getClassLoader(); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The method getDeclaringPluginDescriptor() is undefined for the type IExtension [ERROR] /buildroot/webtools.releng.aggregator/webtools.webservices/bundles/org.eclipse.wst.wsdl.ui/src-asd-wsdl11/org/eclipse/wst/wsdl/ui/internal/WSDLEditorPlugin.java:[612,0] [ERROR] ClassLoader pluginClasssLoader = element.getDeclaringExtension().getDeclaringPluginDescriptor().getPlugin().getClass().getClassLoader(); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The method getDeclaringPluginDescriptor() is undefined for the type IExtension [ERROR] -> [Help 1]
org.eclipse.core.runtime.IExtension is in two places. In Eclipse, this shows up as a deprecation warning against the version of IExtension from runtime_registry_compatibility.jar rather than the org.eclipse.equinox.registry bundle.
(In reply to comment #1) > org.eclipse.core.runtime.IExtension is in two places. In Eclipse, this > shows up as a deprecation warning against the version of IExtension from > runtime_registry_compatibility.jar rather than the > org.eclipse.equinox.registry bundle. Thanks Nitin, I think this hint helped me get by this. I added the following the build.properties and was able to do a quick build of just this bundle. jars.extra.classpath=platform:/plugin/org.eclipse.core.runtime.compatibility.registry It appears org.eclipse.core.runtime.compatibility.registry is a compile time dependency that Tycho was not picking up since it isn't listed in the MANIFEST.MF. I got a further hint from this mailing list post [1] and figured that I should try setting the jars.extra.classpath. I will do further testing with a full build and report back later today. [1] http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00374.html
Fixed, patches updated in bug 412211. See: bug 412211 comment 34 bug 412211 comment 35 bug 412211 comment 36 bug 412211 comment 37 bug 412211 comment 38