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

Bug 346360

Summary: javax.mail.glassfish specify a version for the import of javax.activation
Product: [Tools] Orbit Reporter: Hugues Malphettes <hmalphettes>
Component: bundlesAssignee: Orbit Bundles <orbit.bundles-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Hugues Malphettes CLA 2011-05-18 22:21:07 EDT
I tried to refactor the jetty features to not explicitly include or require the javax.activation plugin;
javax.mail.glassfish gets installed by p2director as expected.
However, javax.activation does not get installed.
PDE complains that javax.mail.glassfish can't be started because it can't find a javax.activation package.

I suspect that this is because javax.mail.glassfish does not specify a version when it imports javax.activation
Import-Package: javax.activation

The suggested fix would be to change this into
Import-Package: javax.activation;version="1.1.0"


As a workaround in jetty, I explicitly made the core feature require the javax.activation plugin; this is not a blocker for Indigo.
Comment 1 Hugues Malphettes CLA 2011-07-14 04:14:06 EDT
Fixed with the tag v201107141553