Automatic Task Repository URL migration feasible? [message #909128] |
Thu, 06 September 2012 15:31 |
Stefan Winkler Messages: 307 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
|
|
|
Powered by
FUDForum. Page generated in 0.23198 seconds