Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Repository with no category

Thx Mickeal,


I open my repository with p2-browser and I see  :


It seems this is the “uncategorized”  category


When I open my content.xml I found :

<unit id='201212181410.Default' version=''>

      <properties size='3'>

        <property name='' value='Uncategorized'/>

        <property name='org.eclipse.equinox.p2.description' value='Default category for otherwise uncategorized features'/>

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


This confirms that the category is present.


p2 allow to have IU which is not in category, so I doubt p2 create it automatically.


De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Mickael Istria
Envoyé : mardi 18 décembre 2012 18:16
À : tycho-user@xxxxxxxxxxx
Objet : Re: [tycho-user] Repository with no category


On 12/18/2012 06:08 PM, Simon Bernard wrote:

 I use Tycho to build an eclipse repository which contains several features.
 I would like those features were not in a category. (to be not visible in the eclipse UI by default)
 I found no way to do that :/.
 If I create a category.xml without category, it seems that Tycho create a category "Uncategorized" for me. (but I don't want it)
 If I don't use category.xml, I don't know how I can list the feature I want in my repository (anyway, in this case the build failed : No content specified for p2 repository)

I'm not 100% sure, but i think if you don't create a category, then you don't have categories. It's just that Eclipse installation UI decides to show an Uncategorized.
You should have a look at the generated repo with Igor's p2-browser to see whether a category is defined for your site. If there is no, then it means the culprit is the Eclipse installation UI; else it probably means it's automatically generated by p2.


Mickael Istria
Eclipse developer at
JBoss, by Red Hat
My blog - My Tweets

Back to the top