Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Sharing local tasks between workspaces
Sharing local tasks between workspaces [message #33452] Fri, 19 October 2007 07:57 Go to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Is there an easy way to share tasks between workspaces? I work on many
projects, and it doesn't make sense to have a single Eclipse workspace. I'm
sure this is common.

I tried to Import... Mylyn->Task Data and navigated to the other
workspace/.metadata/.mylyn/tasklist.xml.zip. But nothing happened, not even
an error.

I can probably Export... from one and Import... into the other but that
isn't very helpful if I don't have both open.

Maybe a file-system based true repository (like
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193439) would be a useful
feature?
Re: Sharing local tasks between workspaces [message #33486 is a reply to message #33452] Fri, 19 October 2007 08:45 Go to previous messageGo to next message
Alexey Semenov is currently offline Alexey SemenovFriend
Messages: 78
Registered: July 2009
Member
Hi Dave,

You may customize the place where mylyn stores the tasks data and set it=
=

to be the same for both workspaces. You may find the setting in =

Preferences->Mylyn->Task List->Task Data->Data directory.

However I've tried this already and then switched back to per-workspace =
=

tasks setting. It turned out, that workspace is a sufficiently =

large-grained structure to have its own tasks, sharing them almost did n=
ot =

give me a benefit.

Also Mylyn seems to store tasks data in a memory cache and synchronize i=
t =

with the data on disk once in a while. It looks like Mylyn was not teste=
d =

to work correctly in case you have those two workspaces with shared Myly=
n =

data open in different instances of Eclipse. At least, in this case I go=
t =

some very strange timing results.

If I'm wrong, everyone here - feel free to correct me =3D)

Alexey


On Fri, 19 Oct 2007 08:57:55 +0100, Dave Syer <david_syer@hotmail.com> =

wrote:

> Is there an easy way to share tasks between workspaces? I work on man=
y
> projects, and it doesn't make sense to have a single Eclipse workspace=
.. =

> I'm
> sure this is common.
>
> I tried to Import... Mylyn->Task Data and navigated to the other
> workspace/.metadata/.mylyn/tasklist.xml.zip. But nothing happened, no=
t =

> even
> an error.
>
> I can probably Export... from one and Import... into the other but tha=
t
> isn't very helpful if I don't have both open.
>
> Maybe a file-system based true repository (like
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D193439) would be a use=
ful
> feature?
>
>



-- =
Re: Sharing local tasks between workspaces [message #33587 is a reply to message #33486] Fri, 19 October 2007 14:35 Go to previous messageGo to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Hmm. Sounds non-ideal to me. Also, I only really want to import the Local
Tasks from another workspace, and that seems to be impossible - tasklist.xml
contains meta data for all repositories (including ones that are not defined
in all workspaces). There has to be a better way. It's really a bit like
the post a couple of weeks ago where someone wanted to share task data
between team members in the simplest possible way. The best idea that
anyone came up with was to install bugzilla. Not simple enough for me.

"Alexey Semenov" <alexeysem@gmail.com> wrote in message
news:op.t0frym0a32v8ru@gmlxd186.orbian.priv...
Hi Dave,

You may customize the place where mylyn stores the tasks data and set it
to be the same for both workspaces. You may find the setting in
Preferences->Mylyn->Task List->Task Data->Data directory.

However I've tried this already and then switched back to per-workspace
tasks setting. It turned out, that workspace is a sufficiently
large-grained structure to have its own tasks, sharing them almost did not
give me a benefit.

Also Mylyn seems to store tasks data in a memory cache and synchronize it
with the data on disk once in a while. It looks like Mylyn was not tested
to work correctly in case you have those two workspaces with shared Mylyn
data open in different instances of Eclipse. At least, in this case I got
some very strange timing results.

If I'm wrong, everyone here - feel free to correct me =)

Alexey


On Fri, 19 Oct 2007 08:57:55 +0100, Dave Syer <david_syer@hotmail.com>
wrote:

> Is there an easy way to share tasks between workspaces? I work on many
> projects, and it doesn't make sense to have a single Eclipse workspace.
> I'm
> sure this is common.
>
> I tried to Import... Mylyn->Task Data and navigated to the other
> workspace/.metadata/.mylyn/tasklist.xml.zip. But nothing happened, not
> even
> an error.
>
> I can probably Export... from one and Import... into the other but that
> isn't very helpful if I don't have both open.
>
> Maybe a file-system based true repository (like
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=193439) would be a useful
> feature?
>
>



--
Re: Sharing local tasks between workspaces [message #33756 is a reply to message #33587] Fri, 19 October 2007 19:13 Go to previous message
Eclipse UserFriend
Originally posted by: beatmik.acm.org

Alexey: you are correct, Mylyn does not support the same task data
directory to be concurrently accessed by two workspaces. We have not
put in a lock to prevent this since we consider the multiple workspace
scenario to be an Advanced use case, and if someone wants to work this
way it should not cause any actual corruption, but is not supported:

http://wiki.eclipse.org/index.php/Mylyn_FAQ#What_if_I_use_mu ltiple_workspaces.3F

Dave: I agree that we don't have an ideal answer for sharing local
tasks. This is out of scope of the Mylyn project, which is focusing on
integrating with issue trackers and giving you workspace-specific
personal tasks. Eclipse itself only supports sharing of workspace data
via import/export, and we inherit this limitation. As you point out, a
work-around to this would be to have someone contribute a task
repository that could be locally shared across workspaces. Since you're
not the first to show interest in this, we could help with such a
contribution. The easiest approach is probably the one you point out:

193439: [connector] CSV task storage or import
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193439

Those interested in the feature should vote, and those interested enough
in contributing please comment.

Mik

Dave Syer wrote:
> Hmm. Sounds non-ideal to me. Also, I only really want to import the Local
> Tasks from another workspace, and that seems to be impossible - tasklist.xml
> contains meta data for all repositories (including ones that are not defined
> in all workspaces). There has to be a better way. It's really a bit like
> the post a couple of weeks ago where someone wanted to share task data
> between team members in the simplest possible way. The best idea that
> anyone came up with was to install bugzilla. Not simple enough for me.
>
> "Alexey Semenov" <alexeysem@gmail.com> wrote in message
> news:op.t0frym0a32v8ru@gmlxd186.orbian.priv...
> Hi Dave,
>
> You may customize the place where mylyn stores the tasks data and set it
> to be the same for both workspaces. You may find the setting in
> Preferences->Mylyn->Task List->Task Data->Data directory.
>
> However I've tried this already and then switched back to per-workspace
> tasks setting. It turned out, that workspace is a sufficiently
> large-grained structure to have its own tasks, sharing them almost did not
> give me a benefit.
>
> Also Mylyn seems to store tasks data in a memory cache and synchronize it
> with the data on disk once in a while. It looks like Mylyn was not tested
> to work correctly in case you have those two workspaces with shared Mylyn
> data open in different instances of Eclipse. At least, in this case I got
> some very strange timing results.
>
> If I'm wrong, everyone here - feel free to correct me =)
>
> Alexey
Re: Sharing local tasks between workspaces [message #583574 is a reply to message #33452] Fri, 19 October 2007 08:45 Go to previous message
Alexey Semenov is currently offline Alexey SemenovFriend
Messages: 78
Registered: July 2009
Member
Hi Dave,

You may customize the place where mylyn stores the tasks data and set it=
=

to be the same for both workspaces. You may find the setting in =

Preferences->Mylyn->Task List->Task Data->Data directory.

However I've tried this already and then switched back to per-workspace =
=

tasks setting. It turned out, that workspace is a sufficiently =

large-grained structure to have its own tasks, sharing them almost did n=
ot =

give me a benefit.

Also Mylyn seems to store tasks data in a memory cache and synchronize i=
t =

with the data on disk once in a while. It looks like Mylyn was not teste=
d =

to work correctly in case you have those two workspaces with shared Myly=
n =

data open in different instances of Eclipse. At least, in this case I go=
t =

some very strange timing results.

If I'm wrong, everyone here - feel free to correct me =3D)

Alexey


On Fri, 19 Oct 2007 08:57:55 +0100, Dave Syer <david_syer@hotmail.com> =

wrote:

> Is there an easy way to share tasks between workspaces? I work on man=
y
> projects, and it doesn't make sense to have a single Eclipse workspace=
.. =

> I'm
> sure this is common.
>
> I tried to Import... Mylyn->Task Data and navigated to the other
> workspace/.metadata/.mylyn/tasklist.xml.zip. But nothing happened, no=
t =

> even
> an error.
>
> I can probably Export... from one and Import... into the other but tha=
t
> isn't very helpful if I don't have both open.
>
> Maybe a file-system based true repository (like
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D193439) would be a use=
ful
> feature?
>
>



-- =
Re: Sharing local tasks between workspaces [message #583615 is a reply to message #33486] Fri, 19 October 2007 14:35 Go to previous message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Hmm. Sounds non-ideal to me. Also, I only really want to import the Local
Tasks from another workspace, and that seems to be impossible - tasklist.xml
contains meta data for all repositories (including ones that are not defined
in all workspaces). There has to be a better way. It's really a bit like
the post a couple of weeks ago where someone wanted to share task data
between team members in the simplest possible way. The best idea that
anyone came up with was to install bugzilla. Not simple enough for me.

"Alexey Semenov" <alexeysem@gmail.com> wrote in message
news:op.t0frym0a32v8ru@gmlxd186.orbian.priv...
Hi Dave,

You may customize the place where mylyn stores the tasks data and set it
to be the same for both workspaces. You may find the setting in
Preferences->Mylyn->Task List->Task Data->Data directory.

However I've tried this already and then switched back to per-workspace
tasks setting. It turned out, that workspace is a sufficiently
large-grained structure to have its own tasks, sharing them almost did not
give me a benefit.

Also Mylyn seems to store tasks data in a memory cache and synchronize it
with the data on disk once in a while. It looks like Mylyn was not tested
to work correctly in case you have those two workspaces with shared Mylyn
data open in different instances of Eclipse. At least, in this case I got
some very strange timing results.

If I'm wrong, everyone here - feel free to correct me =)

Alexey


On Fri, 19 Oct 2007 08:57:55 +0100, Dave Syer <david_syer@hotmail.com>
wrote:

> Is there an easy way to share tasks between workspaces? I work on many
> projects, and it doesn't make sense to have a single Eclipse workspace.
> I'm
> sure this is common.
>
> I tried to Import... Mylyn->Task Data and navigated to the other
> workspace/.metadata/.mylyn/tasklist.xml.zip. But nothing happened, not
> even
> an error.
>
> I can probably Export... from one and Import... into the other but that
> isn't very helpful if I don't have both open.
>
> Maybe a file-system based true repository (like
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=193439) would be a useful
> feature?
>
>



--
Re: Sharing local tasks between workspaces [message #583686 is a reply to message #33587] Fri, 19 October 2007 19:13 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
Alexey: you are correct, Mylyn does not support the same task data
directory to be concurrently accessed by two workspaces. We have not
put in a lock to prevent this since we consider the multiple workspace
scenario to be an Advanced use case, and if someone wants to work this
way it should not cause any actual corruption, but is not supported:

http://wiki.eclipse.org/index.php/Mylyn_FAQ#What_if_I_use_mu ltiple_workspaces.3F

Dave: I agree that we don't have an ideal answer for sharing local
tasks. This is out of scope of the Mylyn project, which is focusing on
integrating with issue trackers and giving you workspace-specific
personal tasks. Eclipse itself only supports sharing of workspace data
via import/export, and we inherit this limitation. As you point out, a
work-around to this would be to have someone contribute a task
repository that could be locally shared across workspaces. Since you're
not the first to show interest in this, we could help with such a
contribution. The easiest approach is probably the one you point out:

193439: [connector] CSV task storage or import
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193439

Those interested in the feature should vote, and those interested enough
in contributing please comment.

Mik

Dave Syer wrote:
> Hmm. Sounds non-ideal to me. Also, I only really want to import the Local
> Tasks from another workspace, and that seems to be impossible - tasklist.xml
> contains meta data for all repositories (including ones that are not defined
> in all workspaces). There has to be a better way. It's really a bit like
> the post a couple of weeks ago where someone wanted to share task data
> between team members in the simplest possible way. The best idea that
> anyone came up with was to install bugzilla. Not simple enough for me.
>
> "Alexey Semenov" <alexeysem@gmail.com> wrote in message
> news:op.t0frym0a32v8ru@gmlxd186.orbian.priv...
> Hi Dave,
>
> You may customize the place where mylyn stores the tasks data and set it
> to be the same for both workspaces. You may find the setting in
> Preferences->Mylyn->Task List->Task Data->Data directory.
>
> However I've tried this already and then switched back to per-workspace
> tasks setting. It turned out, that workspace is a sufficiently
> large-grained structure to have its own tasks, sharing them almost did not
> give me a benefit.
>
> Also Mylyn seems to store tasks data in a memory cache and synchronize it
> with the data on disk once in a while. It looks like Mylyn was not tested
> to work correctly in case you have those two workspaces with shared Mylyn
> data open in different instances of Eclipse. At least, in this case I got
> some very strange timing results.
>
> If I'm wrong, everyone here - feel free to correct me =)
>
> Alexey
Previous Topic:eclipse-europe and mylyn.pde_feature
Next Topic:Mylyn as a datasource (for BIRT)?
Goto Forum:
  


Current Time: Thu Apr 25 11:27:20 GMT 2024

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

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

Back to the top