Skip to main content


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 #552504] Thu, 12 August 2010 12:21 Go to next message
Simon  is currently offline Simon Friend
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
Re: Headless Update KO with update site, KO with feature export, OK with product export [message #552549 is a reply to message #552504] Thu, 12 August 2010 15:06 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The answer to this is essentially the same as your other questions, there is
some explanation here:
http://aniefer.blogspot.com/2009/07/composing-and-updating-c ustom-eclipse.html

Simon wrote:

> 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
Re: Headless Update KO with update site, KO with feature export, OK with product export [message #553928 is a reply to message #552549] Thu, 19 August 2010 12:45 Go to previous messageGo to next message
Simon  is currently offline Simon Friend
Messages: 6
Registered: August 2010
Junior Member
Thank you for the answer.

I've given up the update site and I will use the product export repository as an update solution.
Re: Headless Update KO with update site, KO with feature export, OK with product export [message #571128 is a reply to message #552504] Thu, 12 August 2010 15:06 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The answer to this is essentially the same as your other questions, there is
some explanation here:
http://aniefer.blogspot.com/2009/07/composing-and-updating-c ustom-eclipse.html

Simon wrote:

> 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
Re: Headless Update KO with update site, KO with feature export, OK with product export [message #571361 is a reply to message #552549] Thu, 19 August 2010 12:45 Go to previous message
Simon  is currently offline Simon Friend
Messages: 6
Registered: August 2010
Junior Member
Thank you for the answer.

I've given up the update site and I will use the product export repository as an update solution.
Previous Topic:Resolving requirement on A.PDE.Target.Platform
Next Topic:Dependency not found
Goto Forum:
  


Current Time: Tue Mar 19 08:29:46 GMT 2024

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

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

Back to the top