Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318594 - Patch Fragment ignored when referenced from Workspace
Summary: Patch Fragment ignored when referenced from Workspace
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Launcher (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2010-07-01 08:52 EDT by Sascha Becher CLA
Modified: 2011-08-30 08:13 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!