I need to create a p2 site that shows all bundles as installable units (ui), like the eclipse orbit sites:
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.orbit/org.eclipse.orbit.releng/maps/category.xml?root=Tools_Project&view=co&content-type=text/plain
I have put a category.xml with the below content file next to my buck.properties and feature.xml file
<?xml version="1.0" encoding="UTF-8"?>
<site>
<category-def name="all" label="All Bundles"/>
<iu>
<category name="all"/>
<query><expression type="match">providedCapabilities.exists(p | p.namespace == 'osgi.bundle')</expression></query>
</iu>
</site>
But when I run the site.p2 action I get:
publishing result
E Error parsing site stream. Unknown element "iu" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "category" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "query" in parsing state "Category Def". Check the validity of the XML file.
E Error parsing site stream. Unknown element "expression" in parsing state "Category Def". Check the validity of the XML file.
This is my bucky.properties file:
buckminster.output.root=C:/bucky/de/site
buckminster.temp.root=C:/bucky/de/tmp
qualifier.replacement.*=generator:lastRevision
target.os=*
target.ws=*
target.arch=*
[Updated on: Fri, 16 September 2011 07:47] by Moderator