Bug 19277 - Wrong plugins are ignored
Summary: Wrong plugins are ignored
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-05 06:02 EDT by Dirk Baeumer CLA
Modified: 2002-06-07 14:01 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 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.