Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312674 - The "javax.annotation" bundle does not export .class files
Summary: The "javax.annotation" bundle does not export .class files
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 304844
  Show dependency tree
 
Reported: 2010-05-12 13:44 EDT by Oleg Besedin CLA
Modified: 2010-05-13 07:55 EDT (History)
2 users (show)

See Also:


Attachments
Patch (793 bytes, patch)
2010-05-12 13:44 EDT, Oleg Besedin CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2010-05-12 13:44:47 EDT
Created attachment 168211 [details]
Patch

The classes present in the "javax.annotation" bundle are not visible to regular Eclipse plugin. Comparing to "javax.inject" bundle, the following classpath entry is different:

working ("javax.inject"):
<classpathentry exported="true" kind="lib" path="" sourcepath="source-bundle"/>

non-working ("javax.annotations"):
<classpathentry kind="lib" path=""/>

I am not an expert in the ".classpath" file, but changing the entry to the "javax.inject"-style seems to fix the problem.
Comment 1 DJ Houghton CLA 2010-05-13 07:55:32 EDT
Released.