On 10-Feb-2011, at 10:44 AM, Samuel Wu wrote: > > I tried to add the following ant task to my build and it did publish the > build result. But the problem is that the features are publish without a > category. I manually
I would assume you need to specify the IU for the category too. Look in the
content.xml/jar for an IU with a property
'org.eclipse.equinox.p2.type.category'. For example, one of my repos has a
generated category named '201102100915.Default':
<unit id='201102100915.Default' version='1.0.0.7D7U3cBIFjh7kMYYMkYMO1ZH'>
<properties size='3'>
<property name='org.eclipse.equinox.p2.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'/>
</properties>
<provides size='1'>
<provided namespace='org.eclipse.equinox.p2.iu' name='201102100915.Defau
lt' version='1.0.0.7D7U3cBIFjh7kMYYMkYMO1ZH'/> </provides>
<requires size='6'>
<!-- .... -->
Brian.
--
Rescue your task list with Kizby! Free 30 day trial with no obligations.
Visit kizby.com for details.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
