Skip to main content



      Home
Home » Eclipse Projects » P2 » Configure a p2 update repository programmatically
Configure a p2 update repository programmatically [message #567897] Fri, 16 July 2010 03:00 Go to next message
Eclipse UserFriend
There is an article in the Eclipse wiki how to configure user's p2 default repositories of an RCP application by adding a static conf file to your product:

http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application#Configuring_the_user.27s_default_repositorie s

I want to do the same programmatically in a Java class when the user changes some configuration details. I could not find appropriate p2 API documentation for that.
Re: Configure a p2 update repository programmatically [message #849045 is a reply to message #567897] Wed, 18 April 2012 16:49 Go to previous messageGo to next message
Eclipse UserFriend
I want to do the same. Did you find a solution?
Re: Configure a p2 update repository programmatically [message #849278 is a reply to message #849045] Wed, 18 April 2012 22:43 Go to previous message
Eclipse UserFriend
See IMetadataRepositoryManager#addRepository(URI) and IArtifactRepository#addRepository(URI)
You can get the implementation of these services from the IProvisioningAgent
Previous Topic:p2.mirror and site.xm
Next Topic:'Build Site' encountered a problem: Unable to find feature
Goto Forum:
  


Current Time: Thu Jul 03 17:31:12 EDT 2025

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

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

Back to the top