product update does not work [message #557057] |
Fri, 03 September 2010 19:51 |
Flavio Donze Messages: 211 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Hello
I'm having trouble updating (p2) my RCP application which was built using buckminster.
When I install the found updates on my client machine, the bundles are downloaded to:
C:\Programme\Hudson\workspace\jobs\scodi.client.integration\ workspace\buckminster.output\ch.scodi.client.site_1.0.0-ecli pse.feature\scodi-client.win32.win32.x86\plugins
This is the buckminster output directory on the server. The RCP application then tells me it updated and I can see the new feature version in the about dialog, but still the old plugins. No new features and plugins are in the actual installation directory.
I traced the problem down to the p2 directory. There I can find the path in:
p2\org.eclipse.equinox.p2.engine\profileRegistry\ScodiClient Profile.profile\.data\.settings\org.eclipse.equinox.p2.artif act.repository.prefs
p2\org.eclipse.equinox.p2.engine\profileRegistry\ScodiClient Profile.profile\1283528437014.profile.gz (1KB)
p2\org.eclipse.equinox.p2.engine\profileRegistry\ScodiClient Profile.profile\1283528497482.profile.gz (60KB)
Only if I change last one, the download location changes.
The strange thing, building the same product using the Eclipse export wizard, it then updates correctly.
Also if I replace the p2 directory of the server build with the p2 directory of the local eclipse build, it works as well.
Anybody got an idea what I can do or what I need to configure that this works? Is this the right place or should I go to the equinox/p2 forum?
greets and thanks for any help
Flavio
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
|
|
|
|
|
|
Re: product update does not work [message #557329 is a reply to message #557285] |
Mon, 06 September 2010 18:53 |
|
On 09/06/2010 03:03 PM, Flavio Donzé wrote:
> <jvmarg value="-Declipse.p2.data.area=${destination}/p2"/>
> <jvmarg value="-Declipse.p2.profile=${profile}"/>
Please remove those two lines. They do more harm then good.
Regards,
Thomas Hallgren
|
|
|
Re: product update does not work [message #557336 is a reply to message #557329] |
Mon, 06 September 2010 21:06 |
Flavio Donze Messages: 211 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Hello Thomas
It works!!! Thanks a lot for this solution!
And thank you Johannes for the roaming tip!
I was struggling with this for quite a while now!
I also updated the buckminster installation but I don't think that had an effect.
greets
Flavio
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
|
|
|
Powered by
FUDForum. Page generated in 0.04153 seconds