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

Bug 319782

Summary: Gemini web bundles import org.osgi.util.tracker.*;version="1.4.2",
Product: [RT] Gemini.Web Reporter: David Savage <david.savage>
Component: unknownAssignee: Glyn Normington <glyn.normington>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: glyn.normington
Version: unspecified   
Target Milestone: 1.1.0.M03-incubation   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
git diff output to fix glyn.normington: iplog+

Description David Savage CLA 2010-07-13 15:31:52 EDT
Build Identifier: 

This works on equinox due to the following bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279622

But fails on felix:

java -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n
-jar launcher.jar bundles/Listening for transport dt_socket at
address: 8001
Error starting framework: org.osgi.framework.BundleException:
Unresolved constraint in bundle org.eclipse.gemini.web.core [29]:
Unable to resolve 29.0: missing requirement [29.0] package;
(&(package=org.osgi.util.tracker)(version>=1.4.2)) - [29.0] package;
(&(package=org.osgi.util.tracker)(version>=1.4.2))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.eclipse.gemini.web.core [29]: Unable to resolve 29.0: missing
requirement [29.0] package;
(&(package=org.osgi.util.tracker)(version>=1.4.2)) - [29.0] package;
(&(package=org.osgi.util.tracker)(version>=1.4.2))
       at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
       at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
       at launcher.Main.main(Main.java:92)

Reproducible: Always
Comment 1 David Savage CLA 2010-07-13 15:32:49 EDT
Created attachment 174222 [details]
git diff output to fix
Comment 2 Glyn Normington CLA 2010-07-14 11:55:58 EDT
Thanks for the patch. Committed at f271103a87726d55e90085101f563f1f563d7bb4.
Comment 3 Glyn Normington CLA 2010-07-16 05:33:08 EDT
Hi Dave

In view of the due diligence process [1], please could you confirm that you wrote 100% of the code you contributed in this bug and that you have the right to contribute the code to Eclipse. I
note that there are no new files needing the appropriate License header.

I should have confirmed this before pushing the code to Eclipse. My mistake, for which I apologise.

Thanks,
Glyn
[1] http://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf
Comment 4 David Savage CLA 2010-07-16 07:59:13 EDT
Confirmed I wrote 100% of the the patch and I have the right to contribute this code to eclipse.