Skip to main content
Jump to: navigation, search


< Tycho
Revision as of 15:25, 25 February 2015 by (Talk | contribs) (introduction and outline of this page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A category.xml file can be used to include content into a p2 repository and to specify how to display the content in the p2 installation dialog. For it to be used by a Tycho build, it needs to be placed into the root of an eclipse-repository project.

The category.xml format was originally defined by the Eclipse PDE project. There are extensions to the format only supported by p2 and Tycho.

Format overview

Stub category.xml file:

<?xml version="1.0" encoding="UTF-8"?>
   <feature id="" version="1.4.100.v2009"/>
   <bundle id="" version="1.3.1.v2013"/>
   <iu id=""/>
       <expression type="match">
           id == $0

   <feature id="">
      <category name=""/>
   <category-def name="" label="Category Label">
      <description>Details on the category</description>

Including artifacts

TODO details on feature, bundle, and iu elements

Categorizing content

TODO details on category-def and category elements

Back to the top