Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Trac task context sharing with mylyn
Trac task context sharing with mylyn [message #600083] Fri, 20 November 2009 19:53 Go to next message
No real name is currently offline No real name
Messages: 2
Registered: November 2009
Junior Member
I've got trac working with mylyn (in eclipse obviously) through xmlrpc. Yay for six hours of my life. I can attach and retrieve context to tasks in trac.

Question setup: I have a project checked out into two workspaces. In workspace 1, I activate a task, open some files, edit some stuff, commit the changes to svn, and attach the context to the task.

In workspace 2, I update from svn, retrieve the context of a task and activate it. The correct files show in the Package Explorer (on the left), but the files (which I left open in workspace 1) do not open automatically and the cursor isn't placed at the last edit point.

Is it possible to get trac working that way? I checked this test project out from svn into two different workspaces in the exact same way to test this functionality out - I read something about project names needing to be the same so I eliminated that variable. It seems as if the way it's working now is still pretty great, but it would be even better if I could get it that last step.

ps question: I didn't setup the postcommit hooks from svn to trac yet because it seems like all they do is update ticket status for you. Am I missing some other cool thing they can do, or maybe updating ticket status is a bigger deal than I think it is?

I've asked this question on the trac forum and at stackoverflow but haven't gotten any responses so far.
Re: Trac task context sharing with mylyn [message #600094 is a reply to message #600083] Mon, 23 November 2009 22:09 Go to previous message
Steffen Pingel is currently offline Steffen Pingel
Messages: 706
Registered: July 2009
Senior Member
> I've got trac working with mylyn (in eclipse obviously) through xmlrpc.
> Yay for six hours of my life. I can attach and retrieve context to tasks
> in trac.

Did you run into any problems with the XML-RPC plug-in in particular?

> Question setup: I have a project checked out into two workspaces. In
> workspace 1, I activate a task, open some files, edit some stuff, commit
> the changes to svn, and attach the context to the task.
>
> In workspace 2, I update from svn, retrieve the context of a task and
> activate it. The correct files show in the Package Explorer (on the left),
> but the files (which I left open in workspace 1) do not open automatically
> and the cursor isn't placed at the last edit point.

We use the workbench memento mechanism to restore editors and consider this
a workspace specific feature which is not shared as part of the task
context. Please vote for this bug if you would like to open editors based
on a task context:

197338: [e3.5] [context] restore context editors when no mementos are
available, e.g. for context transfer or retrieve
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197338

> ps question: I didn't setup the postcommit hooks from svn to trac yet
> because it seems like all they do is update ticket status for you. Am I
> missing some other cool thing they can do, or maybe updating ticket status
> is a bigger deal than I think it is?

You can use the post commit hook if you want to track the revisions
committed for a particular task for instance but this won't affect Mylyn.
There is currently no specific functionality that integrates with SVN post
commit hooks other than hyperlinking of change set references in the Trac
task editor.

Steffen
Previous Topic:Trac task context sharing with mylyn
Next Topic:"Focus on active task" button missing in package explorer
Goto Forum:
  


Current Time: Tue Sep 02 00:33:18 EDT 2014

Powered by FUDForum. Page generated in 0.02344 seconds