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

Bug 342185

Summary: org.eclipse.virgo.teststubs.osgi/template.mf has wrong ranges for cm and event
Product: [RT] Virgo Reporter: Thomas Watson <tjwatson>
Component: runtimeAssignee: Glyn Normington <glyn.normington>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: glyn.normington
Version: 3.0.0.M03   
Target Milestone: 3.0.0.M04   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Thomas Watson CLA 2011-04-07 11:42:17 EDT
the build.version file says: org.eclipse.osgi.services=3.3.0.v20110110

This bundle exports the following cm and event packages:

 org.osgi.service.cm; version="1.3"
 org.osgi.service.event; version="1.3"

The template.mf file contains these imports for the cm and event packages:

 org.osgi.service.cm;version="[1.2.0, 1.3.0)",
 org.osgi.service.event;version="[1.1.0, 1.2.0)"

This makes the org.eclipse.virgo.teststubs.osgi bundle unresolvable when run with the org.eclipse.osgi.services=3.3.0.v20110110 bundle.  I think the ranges should be changed to the following:

 org.osgi.service.cm;version="[1.3.0, 1.4.0)",
 org.osgi.service.event;version="[1.3.0, 1.4.0)"
Comment 1 Glyn Normington CLA 2011-04-20 06:45:26 EDT
Fixed as proposed.