Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318594

Summary: Patch Fragment ignored when referenced from Workspace
Product: [Eclipse Project] Equinox Reporter: Sascha Becher <becher-sascha>
Component: LauncherAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: ankur_sharma, curtis.windatt.public, darin.eclipse, s.schnabl
Version: 3.6Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sascha Becher CLA 2010-07-01 08:52:23 EDT
Build Identifier: 20100617-1415

This worked fine with Eclipse 3.5.2:
Class A from a plugin was replaced from it's equivalent in a patch fragment.
Under 'Run configurations' I had both the plugin and the patch fragment selected 
under 'Workspace' not 'Patch fragment' in order not to export the plugin every time I made a change to it.

This feature seems to be broken in Eclipse 3.6 as only Class A gets loaded and the patch fragment is ignored. When selecting the plugin and the patch fragment under 'Target platform', the replacement works as expected.

Reproducible: Always

Steps to Reproduce:
1. create a plugin and a patch fragment
2. create class A in the plugin that can be replaced
3. create class A in the patch fragment that replaces class A from the plugin
4. in 'Run configurations' select both under 'Workspace', not 'Target platform'
Comment 1 Sascha Becher CLA 2011-01-20 07:18:04 EST
This bug is still not fixed in Eclipse 3.6.1 and prevents fluent development.
Comment 2 Sascha Becher CLA 2011-07-05 09:24:11 EDT
This bug persists also in Eclipse 3.7 and prevents fluent development!
Comment 3 Sascha Becher CLA 2011-08-12 12:32:11 EDT
Equinox seems to cause this.
Comment 4 Sascha Becher CLA 2011-08-30 08:13:04 EDT
I have found the cause for the behaviour described before:
My RCP application still used the Target Platform 3.5.2, while I used
Eclipse 3.6.2 and then 3.7
Updating to the matching Target Platform for Eclipse, all works fine now.

I'm sorry for polluting the bugtracker with this!