Skip to main content


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: 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
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: Wed Sep 25 23:50:38 GMT 2024

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

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

Back to the top