Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365681 - Remove prereqs on org.mortbay.jetty plugins
Summary: Remove prereqs on org.mortbay.jetty plugins
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 3.4   Edit
Assignee: Elson Yuen CLA
QA Contact: Elson Yuen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 20:18 EST by Carl Anderson CLA
Modified: 2017-10-11 16:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2011-12-05 20:18:09 EST
Currently, our WTP 3.4.0 builds are all failing with:

 Processing inclusion from feature org.eclipse.wst.server_adapters.feature: Bundle org.eclipse.wst.server.preview_1.1.100.v20091208 failed to resolve.:[build-wtp4x-wst4x-sdk]         
Missing required plug-in org.mortbay.jetty.server_[6.1.7,6.2.0).[build-wtp4x-wst4x-sdk]         
Missing required plug-in org.mortbay.jetty.util_[6.1.7,6.2.0).[build-wtp4x-wst4x-sdk]         
Missing required plug-in javax.servlet_[2.5.0,2.6.0).


Simply put, javax.servlet has moved up to 2.6.0 (for Servlet 3.0 specification), and jetty 5 and jetty 6 are no longer part of the base Eclipse platform - see bug 362724 for its intentional removal.
Comment 1 Elson Yuen CLA 2011-12-07 15:12:00 EST
Dropped the first part of the changes to HEAD to fix the build errors.  

There is one remaining issue of the org.eclipse.wst.server.preview.internal.PreviewStarter relies on the WebAppContext class which no longer available on the new Jetty server.

I have temporarily switch to use org.eclipse.jetty.server.handler.ContextHandler which cause reduction in function.  More investigation is needed for the complete fix.
Comment 2 Elson Yuen CLA 2011-12-08 14:27:44 EST
I am closing this one for the build breakage.  I have opened bug 366092 to investigate the rest of the problems on this bug that I mentioned in my previous comment.
Comment 3 Elson Yuen CLA 2011-12-08 14:28:16 EST
Build breakage fix dropped to HEAD on 20111207.
Comment 4 Carl Anderson CLA 2011-12-10 09:15:56 EST
Bundles with qualifier-only increases

org.eclipse.wst.server.preview
    1.1.100.v20111209_1452 (current) 
    1.1.100.v20091208 (reference) 

Features with qualifier-only increases

org.eclipse.wst.server_adapters.feature
    3.2.100.v20110303-51EoAkF78Z8HBUC2563 (current) 
    3.2.100.v20110303-51EoAkF77g8HBSc (reference) 
org.eclipse.wst.server_adapters.sdk.feature
    3.2.100.v20110303-773A7826HsEnLAEaGLTJPpNGE_9ICVD3674 (current) 
    3.2.100.v20110303-773A7826HsEnLADiGLTHplG88h9ICTd (reference) 

These are blockers for WTP 3.4.0 M4
Comment 5 Elson Yuen CLA 2011-12-12 10:21:24 EST
Code released to HEAD
Comment 6 Eclipse Genie CLA 2017-10-11 16:37:25 EDT
New Gerrit change created: https://git.eclipse.org/r/109080
Comment 7 Eclipse Genie CLA 2017-10-11 16:37:26 EDT
New Gerrit change created: https://git.eclipse.org/r/109079
Comment 8 Eclipse Genie CLA 2017-10-11 16:37:39 EDT
New Gerrit change created: https://git.eclipse.org/r/109084