Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Temporary Repo Location
Temporary Repo Location [message #576193] Thu, 09 September 2010 17:26
James Peltzer is currently offline James PeltzerFriend
Messages: 43
Registered: July 2009
Member
Hi all,
I'm wondering if there is a way to temporarily register a repository with
the update manager.

I know I can use the IMetadataRepositoryManager and
IArtifactRepositoryManager to add repositories to the system permantently.
I'm looking for a way to add a repository location in such a way that it is
not persisted when the application shuts down.

Here's why:
I have a number of servers that are automatically detected by the system.
These servers frequently appear, disappear, and change their addresses.
Each time the application runs, it may be able to reach a completely
different set of servers.

I'm allowing each server to register itself as the host of a repository
while it is detected by my application but I would like to remove the
repository from the list when the server is no longer available. The best
way me to keep the repository list clean would be to re-add the repositories
each time the application launches.

Any help would be appreciated.

Thanks,

James
Previous Topic:not mirror pack200 bundles
Next Topic:How to count downloads from p2 repository
Goto Forum:
  


Current Time: Fri Apr 19 20:27:13 GMT 2024

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

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

Back to the top