Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339973 - Support org.eclipse.jetty.osgi.* in jetty-8
Summary: Support org.eclipse.jetty.osgi.* in jetty-8
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: osgi (show other bugs)
Version: 8.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 8.0.0.M3   Edit
Assignee: Hugues Malphettes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 23:58 EDT by Hugues Malphettes CLA
Modified: 2011-08-30 19:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugues Malphettes CLA 2011-03-14 23:58:40 EDT
As of jetty-8.0.0.M2, jetty-osgi is not built.
This bug keeps track of the efforts to support jetty-osgi in version 8.
Comment 1 Hugues Malphettes CLA 2011-03-15 01:54:06 EDT
org.eclipse.jetty.osgi.boot is functionally fine.
org.eclipse.jetty.osgi.boot.warurl is fine as well.

Working on org.eclipse.jetty.osgi.boot.jsp
Comment 2 Hugues Malphettes CLA 2011-05-17 22:15:44 EDT
OK, JSP support is working except for the fact that we need a bug in jasper at glassfish to be fixed:
http://java.net/jira/browse/JSP-21

The rest of the servlet-3.0 features that need some work to be supported in OSGi are the web-fragment and the servlet annotations.
Those features are in fact available in jetty-7 so we are working on them here:
bug 346027
Comment 3 Hugues Malphettes CLA 2011-05-25 06:39:15 EDT
In fact discoverable annotations depend on the new API of servlet-3.0 so they are not supported in jetty-7.
I have committed support for the servlet and filter annotations in OSGi.
A web bundles will have its WEB-INF/lib and WEB-INF/classes scanned for servlet annotations as specified by servlet-3.0.
In OSGi, the OSGi fragments that are hosted by the web bundle and the osgi bundles that are required by the web bundle are also scanned for those servlet annotations.
Comment 4 Hugues Malphettes CLA 2011-05-25 06:48:11 EDT
OK pending some more testing and a build I believe we are ready on the OSGi side for jetty-8.
Comment 5 Michael Gorovoy CLA 2011-08-30 14:26:15 EDT
Hugues, you indicated in your last comment that you have completed the changes. Can this ticket be resolved?

-Michael
Comment 6 Hugues Malphettes CLA 2011-08-30 19:42:47 EDT
Thanks for reminding me Michael: fixed.