Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Automatic Task Repository URL migration feasible?
Automatic Task Repository URL migration feasible? [message #909128] Thu, 06 September 2012 11:31
Eclipse UserFriend
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:Mylyn 3.8.1 - updating Folding Error
Goto Forum:
  


Current Time: Sun Jun 15 21:24:34 EDT 2025

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

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

Back to the top