Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-versions-plugin and category.xml

Hi,

I was answering myself just in case anyone could need to know how to have a p2 updated after use tycho-versions-plugin to get a version change..

So, in the category.xml created by pde, remove the url property and change the version to "0.0.0". it won't give you problem in the PDE's feature editor later:
Ex:
<feature url="features/com.c4biz.osgiutils.feature.security.shiro_0.0.1.qualifier.jar" id="com.c4biz.osgiutils.feature.security.shiro" version="0.0.1.qualifier">
<feature  id="com.c4biz.osgiutils.feature.security.shiro" version="0.0.0">

and works as expected, the p2 was created with an updated category bundles.

regards,

Cristiano

On 25/02/12 12:05, Cristiano Gavião wrote:
I was having problems with tycho-versions-plugin that was not updating the version on category.xml file.

Then I've found this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=349370

My doubt is related to the url property that is added by pde:
<feature url="features/com.c4biz.osgiutils.feature.security.shiro_0.0.1.qualifier.jar" id="com.c4biz.osgiutils.feature.security.shiro" version="0.0.1.qualifier">
<category name="c4biz_osgi_deps"/>
</feature>

Should I remove it without to worry ?

thanks,

Cristiano




Back to the top