Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » P2 fragment update
P2 fragment update [message #649811] Thu, 20 January 2011 16:02 Go to next message
Mi?osz  is currently offline Mi?osz Friend
Messages: 7
Registered: February 2010
Junior Member
Hello

I encountered following problem during developing RCP application which uses P2 auto-update:

I have modified application launcher fragment (org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090 519). When I put modified plugin to repository, it is not updated during P2 auto-update process. Does someone know how to force this plugin to update programistically (without changing version)?

(I use P2Util class from this tutorial: http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application)


Thanks in advance

Milosz
Re: P2 fragment update [message #649850 is a reply to message #649811] Thu, 20 January 2011 17:55 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you put the it in the repo with the same version number as the
previous fragment, it will never be updated. p2 considers a bundle with
the same version identical.

If you mean you want to ship a later version of that launcher fragment
to fix a problem you'd have to feature-patch the main containing
feature, where the feature-patch points to the new version of the fragment.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: P2 fragment update [message #650008 is a reply to message #649850] Fri, 21 January 2011 12:45 Go to previous message
Mi?osz  is currently offline Mi?osz Friend
Messages: 7
Registered: February 2010
Junior Member
Thanks for reply!

My appliation is not feature-based, but I found another solution. I repleaced launcher fragment version and it seems to work (I am currently testing it).

Miłosz
Previous Topic:Configure Framework persistent data location
Next Topic:Working with non OSGi artifacts
Goto Forum:
  


Current Time: Thu Apr 18 09:43:21 GMT 2024

Powered by FUDForum. Page generated in 0.02372 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top