|How to use eclipse rcp fragments to update a plugin [message #521277]
||Wed, 17 March 2010 02:49
Registered: March 2010
I've been playing about it this morning but just can't make it work.
What I did was on the same workspace, I created a helloworld project and created another project mathlibrary (it has a MyMath class and operationA method, which simply accepts 2 integer and output the sum).
Now, what I want is to create a fragment, which has MyMath project as the host plugin. I simply wanted to override the operationA method, this time it should output the product of the 2 integers.
The host plugin has this manifest:
Manifest of the fragment:
It seems the runnable application that used the host doesn't see the fragment and still it outputs the sum.
It's like this:
RunnableProject (call operationA(a, b))
->Dependent on Host Plugin (has operationA=sum(a, b)
->Patched by Fragment (operationA=product(a, b)
In my previous try (language file), I've successfully used fragments to have separate language resource like en, ja, de, etc. What I did was in the project's Run Configuration->Arguments tab I've changed the nl parameter to -nl <my language>, example -nl ja (Japanese) or -nl en (English)
Problem solved. Miss some items in the manifest.mf configuration
[Updated on: Wed, 17 March 2010 05:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01901 seconds