Community
Participate
Working Groups
The Eclipse platform now includes Jetty 8 rather than Jetty 5. Orion should upgrade to use the new version as well.
(note since we consume jetty via the platform repository, we would need to do some work anyway at this point in our build to consume something other than the one provided by the platform)
I'm going to stay on platform M3 for the current Orion milestone, and move to new Jetty/servlet API next week.
Just to document my changes, I have made the following changes to Orion base: - org.mortbay.jetty.server - org.mortbay.jetty.util - org.apache.jasper - org.apache.commons.el + com.sun.el + org.eclipse.jetty.server + org.eclipse.jetty.util + org.eclipse.jetty.http + org.eclipse.jetty.io + org.eclipse.jetty.continuation + javax.servlet + org.apache.jasper.glassfish Also org.eclipse.equinox.http.jetty moves to version 3.0.0 I don't understand why we didn't need to have javax.servlet in our feature in the past.. maybe it was bundled inside Jetty? Anyway the current configuration seems to be working and I am working on the corresponding builder changes. Tom, just CCing you FYI in case something looks wrong to you.
(In reply to comment #3) > Just to document my changes, I have made the following changes to Orion base: > > - org.mortbay.jetty.server > - org.mortbay.jetty.util > - org.apache.jasper > - org.apache.commons.el > > + com.sun.el > + org.eclipse.jetty.server > + org.eclipse.jetty.util > + org.eclipse.jetty.http > + org.eclipse.jetty.io > + org.eclipse.jetty.continuation > + javax.servlet > + org.apache.jasper.glassfish > > Also org.eclipse.equinox.http.jetty moves to version 3.0.0 > > I don't understand why we didn't need to have javax.servlet in our feature in > the past.. maybe it was bundled inside Jetty? Anyway the current configuration > seems to be working and I am working on the corresponding builder changes. > Strange, I would expect you to need the javax.serlvet bundle. > Tom, just CCing you FYI in case something looks wrong to you. There is no point in having com.sun.el if you don't include javax.el API. I don't think com.sun.el will resolve without it. I am no expert in expression language, but I am not convinced our support for javax.el is working properly. See bug363473.
I was missing a bunch of stuff. PDE wasn't complaining about these being missing but I think it doesn't handle package imports. Here is what I have added since the previous list: + org.eclipse.jetty.servlet + org.eclipse.jetty.security (required by jetty.servlet) + org.eclipse.jetty.servlets (not in Eclipse SDK, but we have a dependency on GZipFilter in this bundle) + javax.el (as mentioned by Tom this is the API to go with the impl in com.sun.el)
Also recording so I don't lose it, this jetty dependency graph is very handy: http://wiki.eclipse.org/Image:Jetty-7.0.0-dependencies.png
Marking fixed. Builds >= 20111214-2230 are running on Jetty 8.