Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 124932 - compilation errors in fragment when referencing exported classes from plugin
Summary: compilation errors in fragment when referencing exported classes from plugin
Status: RESOLVED DUPLICATE of bug 109335
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 15:55 EST by Karice McIntyre CLA
Modified: 2006-01-23 18:13 EST (History)
0 users

See Also:


Attachments
plugin zip (1.75 KB, application/zip)
2006-01-23 15:57 EST, Karice McIntyre CLA
no flags Details
fragment zip (1.87 KB, application/zip)
2006-01-23 15:57 EST, Karice McIntyre CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karice McIntyre CLA 2006-01-23 15:55:17 EST
Using I20060110-1026 or 
I have 2 projects, one is a plugin and a the other is a fragment of that plugin.  I exported each to an archive file.  I import (existing project into workspace) each (plugin first, then fragment) into another workspace.  After I import the fragment, classes referenced from the plugin are not resolved in the fragment, but should be since they are exported in the manifest of the plugin.

I was able to create a simplified test case that I will attach (2 zip files).  I think this may be happening in the case that there is no plugin activator class specified.  I couldn't replicate when I had a plugin activator class.
Comment 1 Karice McIntyre CLA 2006-01-23 15:56:39 EST
I forgot to mention that if you close/open the 2 projects then the bogus errors go away.  Also, I was able to replicate this in I20060119-0800.
Comment 2 Karice McIntyre CLA 2006-01-23 15:57:21 EST
Created attachment 33481 [details]
plugin zip
Comment 3 Karice McIntyre CLA 2006-01-23 15:57:38 EST
Created attachment 33482 [details]
fragment zip
Comment 4 Wassim Melhem CLA 2006-01-23 18:13:54 EST
right.  this happens when a fragment declares its own dependencies.

*** This bug has been marked as a duplicate of 109335 ***