Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Automatic Task Repository URL migration feasible?
Automatic Task Repository URL migration feasible? [message #909128] Thu, 06 September 2012 15:31
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 277
Registered: July 2009
Location: Germany
Senior Member
Hi all,

I have the following task:
I have implemented a custom Mylyn connector which works well so far and is already used by several users.

In the organization I work with, the main (and only) task repository URL will change in a few days. Because everyone has his or her connector configured to the same URI, I want to support the users in switching to the new repo.

I managed to implement a detection of the old URI so far using
TasksUi.getRepositoryManager().getRepositories(MY_CONNECTOR_KIND)
and then iterating through the set and checking the URL.

But if I detect a TaskRepository with an "old" URI, I cannot call setURI(), because this is protected. So, is there any other way of programmatically change the repository URI (I think I can migrate the bugs and queries myself to keep them consistent...)

Thanks for any ideas.

Cheers,
Stefan
Previous Topic:Why does mylyn add functions to the context when the curser is inside them
Next Topic:Automated git Branch Switching
Goto Forum:
  


Current Time: Thu Nov 27 22:18:26 GMT 2014

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

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