Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Fragment help ..
Fragment help .. [message #332269] Wed, 15 October 2008 15:13 Go to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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 Go to previous message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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?
>
>
Previous Topic:64bit eclipse on HP-UX with GTK
Next Topic:Disable Project Explorer Rename menu
Goto Forum:
  


Current Time: Sat Oct 19 04:32:55 GMT 2024

Powered by FUDForum. Page generated in 0.03565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top