Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 223256

Summary: [plan] servletbridge and p2
Product: [Eclipse Project] Equinox Reporter: Simon Kaegi <simon_kaegi>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: b.muskalla, benjamin.dev, cgold, clin, pascal, tjwatson, wenfeng.fwd
Version: 3.4Keywords: helpwanted, plan
Target Milestone: 3.6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Simon Kaegi CLA 2008-03-19 17:15:46 EDT
There are a number of Eclipse projects and products that are making use of equinox on the server through the servletbridge. The changes we're introducing in p2 will very likely have an impact on the deployment of these applications. We can probably still use update.configurator in the old way for these applications, but either way we should perform some validation in this area.
Comment 1 Simon Kaegi CLA 2008-03-19 17:23:15 EDT
*** Bug 223255 has been marked as a duplicate of this bug. ***
Comment 2 Simon Kaegi CLA 2008-04-08 21:12:29 EDT
Re-iterating that we are not planning on doing p2 work for the server for the 3.4 release. There's no reason why it shouldn't just work however we're unlikely to specific targetted work here. I'll do some validation post m7 to ensure that the use of update configurator in this environment is still fine.
Comment 3 Simon Kaegi CLA 2008-07-09 15:47:36 EDT
A product team ran into a situation where they were launching the Servletbridge inside the IDE using Jetty directly. The update.configurator failed to reconcile because p2 sets the System property "org.eclipse.update.reconcile" to "false" which prevents automatic reconciliation with plugins/ and features/.

The workaround was to set this property "true" and then later reset it after the servletbridge framework instance was up and running. I'll open a separate bug to look at update.configurator accessing this property as a BundleContext property instead but wanted to note the workaround in case others run into this problem.
Comment 4 Pascal Rapicault CLA 2010-03-12 09:07:11 EST
Simon and Scott have done an awesome job of providing a solution for this in 3.6 (org.eclipse.equinox.server.p2).