p2 profile created By Buckminster [message #495909] |
Fri, 06 November 2009 15:35 |
Bob Walker Messages: 31 Registered: July 2009 |
Member |
|
|
Can anyone explain how the p2 profile creation in Buckminster differs from that created by an IDE export?
The product generated from "Export Product" has a default "profile.profile" folder under p2/org.eclipse.equinox.p2.engine/profileRegistry/, this contains a .data/ folder, a .lock file and a handful of *.profile.gz files.
When creating via Buckminster/Hudson, I specify a profile name in my buckminster.cspex file, and this creates a correspondingly-named directory, with the same .data/ folder and .lock file, but with fewer, ungzipped, .profile files.
This seems to make the difference between p2 updates working and not for me - if I replace my Buckminster-created profile folder with the one created by the IDE and modify my configuration/config.ini accordingly, my updates work fine, otherwise I get features and plugins that report as updated but with the old contents not replaced on disk.
Thanks!
|
|
|
Re: p2 profile created By Buckminster [message #496025 is a reply to message #495909] |
Sat, 07 November 2009 10:48 |
|
Hi Bob,
I'm uncertain what you mean by "buckminster created profile". The profile is created when a product
is installed by the p2 director. Are you referring to the "create.product" ant tasks in our RCP
tutorial?
Regards,
Thomas Hallgren
Bob Walker wrote:
> Can anyone explain how the p2 profile creation in Buckminster differs
> from that created by an IDE export?
>
> The product generated from "Export Product" has a default
> "profile.profile" folder under
> p2/org.eclipse.equinox.p2.engine/profileRegistry/, this contains a
> .data/ folder, a .lock file and a handful of *.profile.gz files.
>
> When creating via Buckminster/Hudson, I specify a profile name in my
> buckminster.cspex file, and this creates a correspondingly-named
> directory, with the same .data/ folder and .lock file, but with fewer,
> ungzipped, .profile files.
>
> This seems to make the difference between p2 updates working and not for
> me - if I replace my Buckminster-created profile folder with the one
> created by the IDE and modify my configuration/config.ini accordingly,
> my updates work fine, otherwise I get features and plugins that report
> as updated but with the old contents not replaced on disk.
>
> Thanks!
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds