Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Headless Update KO with update site, KO with feature export, OK with product export
Headless Update KO with update site, KO with feature export, OK with product export [message #571067] Thu, 12 August 2010 12:21
Simon  is currently offline Simon
Messages: 6
Registered: August 2010
Junior Member
One more question,

I want to find the better way to provide an update to my feature based application. My application uses headless updating with the P2Util class.

I identified 3 options :
use an update site,
use the P2 repository generated during feature export (via Export > Deployable features),
use the P2 repository generated during product export.

Only the last option works with my application. Updates are not detected with the update site or the exported feature.

My tests :
product export with feature 1.0.0
plugin modification 1.0.1
feature 1.0.1
update site export with feature 1.0.1
run product 1.0.0
=> no update found

product export with feature 1.0.0
plugin modification 1.0.1
feature 1.0.1
feature 1.0.1 export
repository 1.0.1 generated during feature export used as update site
run product 1.0.0
=> no update found

product export with feature 1.0.0
plugin modification 1.0.1
feature 1.0.1
product export with feature 1.0.1
repository 1.0.1 generated during product export used as update site
run product 1.0.0
=> self update OK, product now with feature 1.0.1

All the exports are made manually with eclipse.

Is there an explanation for this behaviour? Why updates are not detected with the update site or the exported feature?

Thanks,
Simon
Previous Topic:How to remove stuff from update site?
Next Topic:Referencing a fragment instance in a touchpoint action
Goto Forum:
  


Current Time: Thu Oct 23 09:31:06 GMT 2014

Powered by FUDForum. Page generated in 0.01551 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software