Bug 19277

Summary: Wrong plugins are ignored
Product: [Eclipse Project] PDE Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 F3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2002-06-05 06:02:13 EDT
F2

I am not sure if the is a core or PDE bug <g>

- setup a self hosting workspace with some source projects
- open launcher
- check External Plug-ins on Plug-ins and Fragements page
  observe: you have some duplicate plugins external ones
  and the ones in my workspace
- start target
  observe: in the log you find messages that duplicate plugins are
  ignored. Unfortunatelly the plugins from my workspace are ignored not
  the external ones.
Comment 1 Dejan Glozic CLA 2002-06-05 10:37:51 EDT
F3 candidate.
Comment 2 Dejan Glozic CLA 2002-06-05 10:38:09 EDT
Wrong resolution.
Comment 3 Dejan Glozic CLA 2002-06-07 14:01:26 EDT
You are probably running with duplicates in the launch config and they are 
passed to the run-time workbench. When two plug-ins with the same ids and 
versions appear on the plug-in path, the result is undefined (and unfortunate 
in your case).

I added the code to warn the user that there are duplicates and pick the 
workspace version. You will be able to run the correct (workspace) version, but 
to get the warning dialog dissapear, you will need to fix the launch config. Do 
the following:

1) Go to PDE preferences - target platform. Press 'Deselect All'
2) Go to the Launch configuration dialog (press 'Run...') and switch to 'Plug-
ins and Fragments'. Press 'Restore Defaults' to pick up the changes. This 
should work even without the fix.