In my plugin, de.support.help files are plugin.properties files. These property files include strings for the preference page.
I want to use this plugin for different clients, but the client name is inside the property files.
I want to fix property files using the eclipse fragment mechanism. As far as I can now the fragment plugin can fix the built-in plugin at runtime.
I have a plugin.properties file in the de.support.help plugin that includes the line
plugin.name = Copyright XYZ
And I have fragemt de.support.help.fragment which includes a plugin.properties file with line
plugin.name = Copyright ABC
I expect the "Copyright ABC" line to be displayed at runtime, but it is not. I tested the same with Java classes, and I remember that it worked. The java code from the fragment was placed in the source plugin.
Do you have an idea to handle this? Or am I misunderstanding the mechanism of the fragment?
thanks
EDIT:
When I remove the plugin.properties file from the de.support.help plugin, it works as expected. The fragment file is copied to the plugin directory and used at runtime.
Or do I need to fix the somce eclipse class Can_fragments_be_used_to_patch_a_plug
eclipse merge plugins fragment patch
Markus lausberg
source share