Community
Participate
Working Groups
Build ID: WTP 3.0.1 Steps To Reproduce: It was found that there needs to be a direct dependency between org.eclipse.jst.ws.consumption to org.eclipse.jface for both UI and headless cases because the org.eclipse.jface plug-in contains non-UI code which the org.eclipse.jst.ws.consumption plug-in requires. As a consequence we get NoClassDefFoundErrors/ClassNotFoundExceptions for classes that exist in the jface plugin. Therefore, please undo the change in bug 238624 so that this problem can be resolved. More information:
Created attachment 108789 [details] patch
There seems to be an PDE bug where JFace is listed as an unused dependency even when it's actually required (there's no compile error even after removing the dependency). I'll open a bug later on. I've put the dependency back with this patch. I've also undo changes done in bug 238629 where JFace has been listed as optional dependency. Note that the problem Troy reported is only found in headless environment. We would attempt to clean up the dependency later on in WTP 3.1. Problem summary: Headless product depending on Web services plugins failed to run because the required JFace dependency is not specified. Changes done: Put back the JFace dependencies which we have removed or made optional recently. Reviewed by Yen. Yen has done testing with the headless product and the problems caused by the recent changes have been fixed. PMC, please approve for WTP 3.0.1.
Approved.
The issue in PDE _might_ not be a bug ... but, might be that an extension in plugin.xml ends up requiring it? In either case, another thing that would help is if we learned how to use PDE "pre-defined target" setting. This, basically, just defines a subset of your larger target. This then would make it easier to test/compile against a "headless" environment. How about it Troy ... sounds like it might be worth your while to contribute a pre-defined target! :)
Patch released to HEAD and R3_0_maintenance as v200807302152.
This defect has been in resolve state for a while. Please verify this with the appropriate WTP driver which can be found in: http://download.eclipse.org/webtools/downloads/ We would verify and close the defect on the originator's behalf if it has not been verified 2 weeks after it's been changed to Verified state.
Verified in adaptor tool building on top of WTP 3.0.1.
Closing defects in verify states.