[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 fails to update without any error

Hi all,
we've found the issue: we noticed that, among all the plug-ins in our feature project, some were updating while others not.
The ones that were not updating did have a version not respecting the pattern "x.y.z.qualifier", but just "x.y.z" (say: 1.0.0 instead of 1.0.0.qualifier). Simply adjusting to pattern "x.y.z.qualifier" did solve the problem!

Anyway we found regularly messages like the following into the workspace/.metadata/.log file:

!ENTRY org.eclipse.equinox.p2.touchpoint.natives 2 0 2009-08-13 11:00:44.093
!MESSAGE Could not remove temporary backup directory (it is safe to manually delete it and its contents): C:\DOCUME~1\mobile\IMPOST~1\Temp\profile_24625f9ae080_c0a800650cf6

what this stands for?
Thank you in advance.

Vincenzo Caselli

On Thu, Aug 13, 2009 at 8:29 PM, John Arthorne <John_Arthorne@xxxxxxxxxx> wrote:

I suggest enter a bug report. If there is a small sample application that reproduces the problem it would be a huge help. If you look at the bundle org.eclipse.equinox.p2.core in the file ".options" there are a number of trace options that will cause more details to be printed.


#Turn on debugging for p2

#Detailed debugging information while parsing p2 data files

#Detailed debugging information when a repository is removed from a repository manager

#Detailed debugging information while parsing site.xml and feature.xml files in the generator

#Detailed debugging information while saving/restoring the engine's install registry

#Detailed debugging information while saving/restoring profile preferences

#Detailed debugging information while saving/restoring metadata repositories

#Detailed debugging information about mirror selection

#Detailed debugging information about automatic update checking

#Detailed debugging information about the operands being generated

#Detailed debugging information about the projector

#Detailed debugging information about the reconciler

#Detailed debugging information about the publisher

Vincenzo Caselli <vincenzo.caselli@xxxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

08/13/2009 09:53 AM

Please respond to
vincenzo.caselli@xxxxxxxxx; Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

[p2-dev] p2 fails to update without any error

Hi all,
we have used successfully p2 to update more some RCP products.
In one case this fails regularly (and without any error).
The steps, in all cases, are:
- create the plugins
- create a feature project to gather the plugins
- create the p2.inf file in the application plugin with the update location
- create a feature-based Product configuration
- export the product
- copy the product folder to the installation location
then we introduce modifications in the plugins and re-export the product after having increased the version of both the feature project and the product.
At this point the installed product is able to perform the update successfully.

In one case however it happens this:
- the installed product recognize that there is an update
- it performs the update (usual update wizard, download, asking for restart) and restarts itself
- after the restart however the updates do not appear
- at this point checking for updates says that there are no update

The whole process happens without an error, even the .log file into the folder
does not show any problem.

What we can do? Are there ways to increase the logging details in order to understand what is going wrong during the update?

Thank you very much

Vincenzo Caselli
p2-dev mailing list

Vincenzo Caselli
RCP Vision
E-mail: v.caselli@xxxxxxxxxxxxxx
Mobile: +39 347 1267872
Skype: vincenzocaselli
Gtalk: vincenzo.caselli