[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] Self-Hosting p2 and PDE SelfHostingProfile
- From: Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
- Date: Fri, 23 Jul 2010 17:22:02 +0200
- Delivered-to: firstname.lastname@example.org
- Openpgp: id=0745A1E3
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:220.127.116.11) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1
I'm playing with the p2 operations API. However, I have some issue when
running/debugging self-hosted using the PDE generated
SelfHostingProfile. I have an application that I'd like to update using
UpdateOperation and where I'd also like to install stuff using
I can't get any of the operations working when self-hosting. Both work
fine when I export a product and use them there.
Well, I somehow expected UpdateOperation to not find anything to update
because the root IUs in SelfHostingProfile are just bundles and not
whole features or even product IUs (which I have in the repository).
But when using InstallOperation I get a status indicating that the
installation could not be performed because of a non matching filter.
Funny thing is, that the same IU installs fine when not self-hosting.
The non-matching filter is an os/arch filter which actually should match.
During debugging I tracked the filter down to:
operand: properties ~= $0
I'm self-hosting on win32/x86. I have no idea why the filter does not
match. Any tips for further debugging? Do I need to specify/initialize
the environment somewhere? I suspect that the profile is not setup
correctly but I'm not sure.
Thanks in advance!