[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] osgi data store lost after p2 update

The problem is rooted in the fact the simple configurator does not invoke the OSGi level update method.
It could probably be changed to do so.
Feel free to open a bug, code contribution are welcome.
	CVS: dev.eclipse.org
	Repo: /cvsroot/rt
	Module: org.eclipse.equinox/p2/bundles/org.eclipse.equinox.simpleconfigurator

PaScaL

On 2010-09-03, at 9:57 AM, Michael Mangeng wrote:

> Hi
> 
> I've just noticed that a update done via p2 is causing that the osgi data store of a bundle is not copied.
> a old bug-report has been: https://bugs.eclipse.org/bugs/show_bug.cgi?id=73013
> 
> are my observations correct and if yes, is there a proposed way to solve this issue?
> if not... i'll implement a bundlelistener which copies the osgi data store to a temporary storage (when bundlestate=uninstalling) and re-installs it in the new bundle (if same bundle but another version is installed).
> 
> greetings,
> michael
> 
> 
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev