Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319782 - Gemini web bundles import org.osgi.util.tracker.*;version="1.4.2",
Summary: Gemini web bundles import org.osgi.util.tracker.*;version="1.4.2",
Status: CLOSED FIXED
Alias: None
Product: Gemini.Web
Classification: RT
Component: unknown (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.1.0.M03-incubation   Edit
Assignee: Glyn Normington CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 15:31 EDT by David Savage CLA
Modified: 2010-09-24 11:56 EDT (History)
1 user (show)

See Also:


Attachments
git diff output to fix (1.84 KB, patch)
2010-07-13 15:32 EDT, David Savage CLA
glyn.normington: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.