Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 239366 - target platform irregularity with duplicate bundles
Summary: target platform irregularity with duplicate bundles
Status: RESOLVED DUPLICATE of bug 233095
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 17:21 EDT by Jeff McAffer CLA
Modified: 2009-03-16 12:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2008-07-02 17:21:18 EDT
in 3.4

I have a target platform file that lists several locations.  Some of these locations contain the exact same bundles (same version etc).  in my workspace are various projects that use the API from these bundles.  On the Content tab of the target editor if I select
  Include all plugins...
then I get compile errors in various projects.  At least some of these projects are ones that reference the duplicated bundles (not sure if they are all like that as there are many projects with errors)  I noted that the duplicate bundles appear on the classpath multiple times in the projects with errors.  The access rules are different.  Strange.

For fun I decided to select
  Include only plugins...
and then select ALL the plugins shown (note that the list presented showed only single instances of the duplicate budnles and no version numbers were shown).  Save and hit "Set as target platform".  Rebuild happens and all the errors go away.

If I reverse the setting, all the errors come back.  The pattern repeats.
Comment 1 Curtis Windatt CLA 2009-03-16 12:46:14 EDT
Managing identical plug-ins in the target platform seems to be an unending problem for PDE, but I think we are getting better.

*** This bug has been marked as a duplicate of bug 264413 ***
Comment 2 Curtis Windatt CLA 2009-03-16 12:46:41 EDT
Managing identical plug-ins in the target platform seems to be an unending problem for PDE, but I think we are getting better.

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