Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Http Whiteboard propertytypes annotation support(does PDE support things like @HttpWhiteboardServletPattern etc)
Http Whiteboard propertytypes annotation support [message #1818229] Tue, 10 December 2019 14:48
Erwin De Ley is currently offline Erwin De LeyFriend
Messages: 52
Registered: August 2013
(reposted from Equinox forum, where the feedback was that this is PDE-related.
cfr )

I understood Equinox supports Http Whiteboard v1.1 from its 4.11 release.

But I could not find anything related to support for org.osgi.service.http.whiteboard.propertytypes, e.g. @HttpWhiteboardServletPattern, @HttpWhiteboardServletMultipart etc.
I could not find anything for them in the org.eclipse.osgi... bundles

I understand these are "build-time" things, like @Component. So I assume there must be something included in Equinox/Eclipse PDE when there is an intent to support them.

In an eclipse 2019.09, I added osgi.cmpn-7.00.jar to my platform and then when annotating a servlet as follows:

@Component(service = Servlet.class)
public class FilesUploadServlet extends HttpServlet {

I get a component xml file:
<scr:component xmlns:scr="" activate="activate" deactivate="deactivate" name="com.isencia.sherpa.web.servlet.FilesUploadServlet">
      <provide interface="javax.servlet.Servlet"/>
   <implementation class="com.isencia.sherpa.web.servlet.FilesUploadServlet"/>

So it appears the @HttpWhiteboard... property annotations are not processed.

Any info on actual/planned support for this?

Previous Topic:Problem with dependency resolution in PDE 2019-06?
Next Topic:Signing the plugin content
Goto Forum:

Current Time: Sat Jan 28 09:33:26 GMT 2023

Powered by FUDForum. Page generated in 0.09579 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top