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

Bug 370565

Summary: org.apache.commons.lang wouldn't resolve on 3.8
Product: [Eclipse Project] Equinox Reporter: Paul Webster <pwebster>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: 3.8.0 Juno   
Target Milestone: Juno M6   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Paul Webster CLA 2012-02-03 10:51:05 EST
I launched my 4.2 SDK based on org.eclipse.osgi_3.8.0.v20120123-1419 and org.apache.commons.lang says it won't resolved:

!ENTRY org.eclipse.osgi 2 0 2012-02-03 10:38:03.207
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-03 10:38:03.208
!MESSAGE Bundle reference:file:/opt/local/e4-self/I20120203-0615/eclipse/plugins/org.apache.commons.lang_2.4.0.v201005080502.jar was not resolved.
!SUBENTRY 2 org.apache.commons.lang 2 0 2012-02-03 10:38:03.209
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JRE)(version=1.1))".

PW
Comment 1 Thomas Watson CLA 2012-02-03 17:45:59 EST
I have tried to reproduce by installing the bundle from orbit:

http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/R20120119162704/repository/plugins/org.apache.commons.lang_2.4.0.v201005080502.jar

But no such luck.  The bundle is allowed to resolve because of the fix I added in commit:

http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=3de265620d8c370f7ca9470536e3a03f4414af19

That fix should be in org.eclipse.osgi_3.8.0.v20120123-1419 so I am not sure why you get that log message.

I do need to update the java profiles to include the JRE osgi.ee capabilities.  I am very surprised any bundle is specifying JRE-1.1 as their BREE though.