Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Configure a p2 update repository programmatically
Configure a p2 update repository programmatically [message #567897] Fri, 16 July 2010 07:00 Go to next message
Daniel Murygin is currently offline Daniel MuryginFriend
Messages: 12
Registered: July 2010
Junior Member
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 20:49 Go to previous messageGo to next message
Björn Seebeck is currently offline Björn SeebeckFriend
Messages: 9
Registered: April 2012
Junior Member
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] Thu, 19 April 2012 02:43 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
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: Fri Dec 27 02:25:46 GMT 2024

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

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

Back to the top