Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346360 - javax.mail.glassfish specify a version for the import of javax.activation
Summary: javax.mail.glassfish specify a version for the import of javax.activation
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Orbit Bundles CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 22:21 EDT by Hugues Malphettes CLA
Modified: 2011-07-14 04:14 EDT (History)
0 users

See Also:


Attachments

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