hi,

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!

Jacek
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to