Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Trying to chase down required bundles processing

Hi Pascal,
Basically what happens is that P2 says that the plug-in can't be found in my repo even though it is there.  This happens for any bundle that I have in Required-Bundles in a MANFIEST.MF.  So, I was trying to find the place in the code with breakpoints, where it compiles the list of Required-Bundles and then tries to find them in the Repo, would this be in the validateProfile? 
Thanks in advance,

From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
Sent: August-27-11 11:44 AM
To: P2 developer discussions
Subject: Re: [p2-dev] Trying to chase down required bundles processing

Hi Dom, 

What is the error message returned by p2?
When installing bundles from a legacy update site (site.xml), p2 does an additional resolution phase at the end of the install to check the consistency of the resulting installation since all the necessary MD was not available up front. This is done in EclipseTouchpoint#validateProfile



On 2011-08-26, at 8:25 AM, Domenico Alessi wrote:

Hi All,
I am trying to debug something in p2.   I see that my installations fail when it comes to required bundles in the MANIFEST.MF files and I am trying to track down how this is processed with a legacy site.xml site and not an up to date p2 site (content and artifact jars).     I can't seem to find where it actually tries to resolve the file path and install of these bundles but I do see the provided capabilities get handled.  BTW, I am not saying this is a bug in p2, I have added some code into the platform and trying to debug, but I have not added any code in this area when it comes to MANIFEST.MF processing.
Thanks in advance,
p2-dev mailing list

Back to the top