|Change Update-Site of eclipse 3.5-based RCP application [message #713265]
||Mon, 08 August 2011 05:33
Registered: August 2011
We're distributing a RCP application, which is based on eclipse 3.5. We export it via Eclipse and define the update-site via p2.inf.|
It is known, that while running the RCP application it is not possible to change the definitions of the update-site.
But - please - is there a way to change the definition of the update-site via an update?
Like as if we would provide a new p2.inf over the update-site?
Or is the only way to change the definition of the update-site a new export of the product?
Thanks a lot!
|Re: Change Update-Site of eclipse 3.5-based RCP application [message #714699 is a reply to message #713265]
||Thu, 11 August 2011 05:52
| Alexandra Niculai
Registered: July 2009
If you put the update site in an external file (that you can later change without rebuilding), I think this should work (it's not necessarily the best way):
RepositoryTracker repositoryManager = ProvisioningUI.getDefaultUI()
ProvisioningSession session = ProvisioningUI.getDefaultUI()
URI existingRepositories = repositoryManager
"Your Update Site", session);//$NON-NLS-1$
[Updated on: Thu, 11 August 2011 05:53]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01895 seconds