[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] what is "org.eclipse.equinox.p2.type.lock"
- From: Jacek Pospychała <jacek.pospychala@xxxxxxxxx>
- Date: Tue, 22 Mar 2011 16:30:04 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Jw1U3ojJSKs+SGLeiio18zSl18moy9NCrs98E6A42WnTBBXXyslaTwgBs7+BgRPD21 9FlrZsH7C9Yx7VUqTqdpQVnwJIgN5N8AUFb+qLxY73L85L1i/HK2zmGcPmHoou59AZBl 09dlYdVB7kPQsbXlvrU1NNvLbwBdZb/hmc280=
I'm trying to understand what is this property "org.eclipse.equinox.p2.type.lock", who sets it and why.
Basically, there's a Mac product with extreemly confusing configuration. It uses cascaded configuration areas,
a shared bundle pool and another one in user directory. It has some top level features that are not updateable (no matter if I'm root or regular user).
At the top of that product, I'm installing my feature. Unfortunately, after installing it, I can't update it due to "updates are not permitted" error.
So far, I found that this is caused by org.eclipse.equinox.p2.type.lock property set to 3 for my feature IU in profile metadata.
If I replace property with 1, then update goes one step further and fails somewhere else. (yay!)
So I'm wondering if anybody knows how does p2 decide to set the lock property on newly installed feature.
Is there any documentation for that, or is there any good place to set a breakpoint? e.g. during the installation or during first start?
Thanks in advance!