|Re: Temporary Repo Location [message #631706 is a reply to message #558184]
||Fri, 08 October 2010 13:55
| James Peltzer
Registered: July 2009
Thanks for the reply. I have gone the route of making a composite |
repository even though an in-memory repository makes more sense in my mind.
The only remaining issue with this approach is that I can't seem to nest
composite repositories. That is, if the repository I'm trying to link to
from my composite repository is also a composite, it doesn't seem to work.
Is this actually the case? Is there a way to nest the composite?
"Henrik Lindberg" <email@example.com> wrote in message
> Have you looked at using a composite repository? Thinking that a refresh
> of that repository would pick up the changes in the contained
> This way, you would only need to add your dynamic repository once.
> - henrik
> On 9/9/10 7:26 PM, James Peltzer wrote:
>> 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.
Powered by FUDForum
. Page generated in 0.02600 seconds