Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Unable to update installable featuresthat are declared in a .product file independent of updatingthe product

If my reading on Andrews blog is correct, to get independently installable features I need to:

	1.  Remove the independently installable features from the .product file
	2.  Add a <product_id>.p2.inf to my project that specifies version requirements
	3.  Use ant to install the features into the product

GB

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Thursday, October 20, 2011 11:10 AM
To: Tycho user list
Subject: Re: [tycho-user] Unable to update installable featuresthat are declared in a .product file independent of updatingthe product

oh, and you will need to name your product p2.inf file

<product_id>.p2.inf

, see https://issues.sonatype.org/browse/TYCHO-517 

Regards,
Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Donnerstag, 20. Oktober 2011 17:05
To: Tycho user list
Subject: Re: [tycho-user] Unable to update installable features that are declared in a .product file independent of updating the product

I think this was discussed before [1].
[2] has some hints on how to achieve p2-updatable products with some p2.inf version range tweaking.

Regards,
Jan

[1] http://software.2206966.n2.nabble.com/Building-self-updateable-eclipse-product-application-td6023867.html
[2] http://aniefer.blogspot.com/2009/07/composing-and-updating-custom-eclipse.html



From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Greg Babcock
Sent: Donnerstag, 20. Oktober 2011 16:45
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Unable to update installable features that are declared in a .product file independent of updating the product

My RCP application consists of four installable features, along with a number of configuration files that are bundled as features.  When the application is built with the features defined as dependencies in the product file, p2 only provides the option of updating the product and not individual features.  

>From the p2 documentation it supports provisioning an entire product, or adding IUs to an existing product.  To build an the incrementally upgradable product it looks like installable features need to be removed from the .product file and added in after the product is built.  

Is my assessment correct, and is tycho capable of doing this?

Regards,

GB
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top