[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Categories

I would be very surprised if 3.4.x did not show the feature in the "Name" view for a feature marked with group=true.
Can you double check that you were using the correct repo?

It would be expected in 3.4 that the feature would not show up in any view if the group property were not set to true.

Inactive hide details for Thomas Hallgren <thomas@xxxxxxx>Thomas Hallgren <thomas@xxxxxxx>

          Thomas Hallgren <thomas@xxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          01/26/2009 09:40 AM
          Please respond to P2 developer discussions

To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
Subject: Re: [p2-dev] Categories

Hi Susan,

Susan Franklin McCourt wrote:
> I responded to the general questions in a previous response.
> It is *not* the intention that an uncategorized feature is not seen
> when not grouping my category. However, in the SDK the feature must be
> marked with the "group" property to be visible.
> Please open a bug if you have a case where this is not so.
My case here is that the top level IU in the repository is a feature. I
think I found the reason why it's not showing up. A feature generated
using 3.4.x contains this:

 <provided namespace="org.eclipse.equinox.p2.eclipse.type"
name="feature" version="1.0.0"/>

whereas a feature generated with 3.5 instead has this:

 <property name='org.eclipse.equinox.p2.type.group' value='true'/>

Apparently the 3.5 only reacts to the latter only. The 3.4.x doesn't
seem to react to any of them though. Not unless there is a category
above. Do you still want that as a bug?

Thomas Hallgren
p2-dev mailing list

GIF image

GIF image

GIF image