Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » No features in Target Platform when using p2 sites
No features in Target Platform when using p2 sites [message #536102] Thu, 27 May 2010 04:50 Go to next message
Patrick Roumanoff is currently offline Patrick RoumanoffFriend
Messages: 19
Registered: July 2009
Junior Member
I am trying to build a product based on features, and some of those features are available through a p2 update site.

I am using eclipse 3.5.2 and I can clearly see that those features are available on the p2 update site. But when I select them, only their content (ie the bundles) are actually available.

If I use the directory that is used to generate the p2 update site, then I can use those features to build my product.

I though that my p2 update site was broken, so I tried with the standard eclipse site for galileo
http://download.eclipse.org/galileo/releases/

I can clearly see that the RCP feature is available from this site, but for some reason I can't use this feature in my product definition.

I also tried in 3.6M6 with the same result...

Is there any way to tell eclipse to include those feature from p2 in the target platform?
Or may be it is a known limitation of p2 update site that they only contribute bundle and not features to the target platform? in which case I couldn't find any documentation on this topic.

Re: No features in Target Platform when using p2 sites [message #541333 is a reply to message #536102] Sun, 20 June 2010 08:13 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Patrick,

Features have no runtime purpose. I think you want to take a look at
categories. Try to make a category in your repository.


--

Best Regards,
Wim Jongman
-- The Definition of an Upgrade: Take old bugs out, put new ones
in.
(Eclipse Old Skool Quote Service)

> I am trying to build a product based on features, and some of those
features are available through a p2 update site.
>
> I am using eclipse 3.5.2 and I can clearly see that those features are
available on the p2 update site. But when I select them, only their content
(ie the bundles) are actually available.
>
> If I use the directory that is used to generate the p2 update site, then I
can use those features to build my product.
>
> I though that my p2 update site was broken, so I tried with the standard
eclipse site for galileo
> http://download.eclipse.org/galileo/releases/
>
> I can clearly see that the RCP feature is available from this site, but for
some reason I can't use this feature in my product definition.
>
> I also tried in 3.6M6 with the same result...
>
> Is there any way to tell eclipse to include those feature from p2 in the
target platform?
> Or may be it is a known limitation of p2 update site that they only
contribute bundle and not features to the target platform? in which case I
couldn't find any documentation on this topic.
Re: No features in Target Platform when using p2 sites [message #541343 is a reply to message #541333] Sun, 20 June 2010 10:12 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
File/New../Plugin Development/Category Definition

--

Best Regards,
Wim Jongman
-- Computers make very fast, very accurate mistakes.
(Eclipse Old Skool
Quote Service)

> Hi Patrick,
>
> Features have no runtime purpose. I think you want to take a look at
> categories. Try to make a category in your repository.
>
>
> --
>
> Best Regards,
> Wim Jongman
> -- The Definition of an Upgrade: Take old bugs out, put new ones
> in.
> (Eclipse Old Skool Quote Service)
>
>> I am trying to build a product based on features, and some of those
> features are available through a p2 update site.
>>
>> I am using eclipse 3.5.2 and I can clearly see that those features are
> available on the p2 update site. But when I select them, only their content
> (ie the bundles) are actually available.
>>
>> If I use the directory that is used to generate the p2 update site, then I
> can use those features to build my product.
>>
>> I though that my p2 update site was broken, so I tried with the standard
> eclipse site for galileo
>> http://download.eclipse.org/galileo/releases/
>>
>> I can clearly see that the RCP feature is available from this site, but
for
> some reason I can't use this feature in my product definition.
>>
>> I also tried in 3.6M6 with the same result...
>>
>> Is there any way to tell eclipse to include those feature from p2 in the
> target platform?
>> Or may be it is a known limitation of p2 update site that they only
> contribute bundle and not features to the target platform? in which case I
> couldn't find any documentation on this topic.
Re: No features in Target Platform when using p2 sites [message #541366 is a reply to message #541343] Sun, 20 June 2010 13:17 Go to previous messageGo to next message
Patrick Roumanoff is currently offline Patrick RoumanoffFriend
Messages: 19
Registered: July 2009
Junior Member
well they may not have a runtime purpose from a p2 point of view, but from an RCP point of view, I can define a product based on features and features do provides branding for my set of plugins (eg icon in the about box).

I know about categories to define groups of plugins, but I don't think you can define a product based on categories?

What I see is that publishing my plugins and features to p2 update site makes my features disappear form an RCP point of view. The same set of plugins and features works perfectly well when used as a directory contribution to the target platform.

thanks,
patrick
Re: Re: No features in Target Platform when using p2 sites [message #541398 is a reply to message #541366] Sun, 20 June 2010 21:48 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Patrick,

Can you post a link to a screenshot to show what you mean?

--

Best Regards,
Wim Jongman
-- 2+2 = 5 for extremely large values of 2.
(Eclipse Old Skool Quote
Service)

> well they may not have a runtime purpose from a p2 point of view, but from
an RCP point of view, I can define a product based on features and features
do provides branding for my set of plugins (eg icon in the about box).
>
> I know about categories to define groups of plugins, but I don't think you
can define a product based on categories?
>
> What I see is that publishing my plugins and features to p2 update site
makes my features disappear form an RCP point of view. The same set of
plugins and features works perfectly well when used as a directory
contribution to the target platform.
>
> thanks,
> patrick
Previous Topic:How to generate a Product with RMI Stubs?
Next Topic:RCP with an Intro / Welcome page
Goto Forum:
  


Current Time: Thu Mar 28 20:36:24 GMT 2024

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

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

Back to the top