Fragment help .. [message #332269] |
Wed, 15 October 2008 15:13  |
Eclipse User |
|
|
|
Hi all not sure this is the right thing to do . but .
I have got a two plug-ins A and B.
Both the plug-ins do have got only a C plug-in for CommonServices . A do not
depends on B or vice versa.
Now I would like to add few view action to view B if the user install
plug-ins A too.
Clearly still A do not know anything about B.
I was thinking to use create a fragment for B where I could include in the
dependency A and so create my view contribution .
I believe there is something wrong in what I'm trying to do
If a run the example I see:
!MESSAGE Bundle update@F:/devel/Workbench_v332/workspace/TestEOM/ [203] was
not resolved.
!SUBENTRY 2 TestEOM 2 0 2008-10-15 17:05:11.391
!MESSAGE Constraints from the fragment conflict with the host:
Require-Bundle: plugin_A; bundle-version="0.0.0"
What am I doing wrong?
Shall I approach the problem in a different way?
Kar
|
|
|
Re: Fragment help .. [message #332270 is a reply to message #332269] |
Wed, 15 October 2008 15:28   |
Eclipse User |
|
|
|
WITH A BETTER ENGLISH ... SORRY
Hi all
Hope someone can help me ..
I have got a two plug-ins A and B. Both the plug-ins depends on a third
plug-in C plug-in (this does common services )
Plug in A do not depends on B or vice versa.
Now, the problem is, I would like to add a few view actions to view B if the
user install plug-in A too.
Clearly still A do not know anything about B.
I was thinking to create a fragment for the plug-in B where I could include
in the dependency the plug-in A and from there add view contribution .
BUT I believe there is something wrong in what I'm trying to do
I created a fragment TestEOM for plug-in B BUT when I run the example I get:
!MESSAGE Bundle update@F:/devel/Workbench_v332/workspace/TestEOM/ [203] was
not resolved.
!SUBENTRY 2 TestEOM 2 0 2008-10-15 17:05:11.391
!MESSAGE Constraints from the fragment conflict with the host:
Require-Bundle: plugin_A; bundle-version="0.0.0"
What am I doing wrong?
Shall I approach the problem in a different way?
|
|
|
Re: Fragment help .. [message #332271 is a reply to message #332270] |
Wed, 15 October 2008 16:07  |
Eclipse User |
|
|
|
got it ...
plugin B must have in the manifest
Eclipse-ExtensibleAPI: true
"Kar" <carmeloscala@hotmail.com> wrote in message
news:gd5261$b1n$1@build.eclipse.org...
> WITH A BETTER ENGLISH ... SORRY
>
> Hi all
> Hope someone can help me ..
> I have got a two plug-ins A and B. Both the plug-ins depends on a third
> plug-in C plug-in (this does common services )
> Plug in A do not depends on B or vice versa.
>
> Now, the problem is, I would like to add a few view actions to view B if
> the user install plug-in A too.
>
> Clearly still A do not know anything about B.
>
> I was thinking to create a fragment for the plug-in B where I could
> include in the dependency the plug-in A and from there add view
> contribution .
>
> BUT I believe there is something wrong in what I'm trying to do
>
> I created a fragment TestEOM for plug-in B BUT when I run the example I
> get:
>
> !MESSAGE Bundle update@F:/devel/Workbench_v332/workspace/TestEOM/ [203]
> was not resolved.
> !SUBENTRY 2 TestEOM 2 0 2008-10-15 17:05:11.391
> !MESSAGE Constraints from the fragment conflict with the host:
> Require-Bundle: plugin_A; bundle-version="0.0.0"
>
> What am I doing wrong?
> Shall I approach the problem in a different way?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03517 seconds