Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » cloning tasks between machines
cloning tasks between machines [message #45487] Thu, 13 March 2008 16:24 Go to next message
Simeon Leyzerzon is currently offline Simeon LeyzerzonFriend
Messages: 24
Registered: July 2009
Junior Member
I'm trying to replicate a set of local tasks between 2 machines. Copied
the contents of the <workspace>/.metadata/.mylyn/contexts directory and
the <workspace>/.metadata/.mylyn/tasklist.xml.zip from one PC to another,
but when open the task on the other machine, they are missing some jave
files in the context. Is there a way to get the exact replica of all the
contexts from one machine to another?

TIA,
Simeon
Re: cloning tasks between machines [message #45547 is a reply to message #45487] Thu, 13 March 2008 16:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rob.elves.eclipse.org

A context holds a reference (path) to resources in your workspace.
Assuming you have the same resources checked out into the second
workspace *with the same project names* as in the 1st, then all files
should be revealed upon activation in the 2nd workspace. If this is not
the behavior you are seeing, please consider submitting a bug with steps
to reproduce.

Thanks,

-Rob



Simeon Leyzerzon wrote:
> I'm trying to replicate a set of local tasks between 2 machines. Copied
> the contents of the <workspace>/.metadata/.mylyn/contexts directory and
> the <workspace>/.metadata/.mylyn/tasklist.xml.zip from one PC to
> another, but when open the task on the other machine, they are missing
> some jave files in the context. Is there a way to get the exact replica
> of all the contexts from one machine to another?
>
> TIA,
> Simeon
>
Re: cloning tasks between machines [message #45577 is a reply to message #45547] Thu, 13 March 2008 21:44 Go to previous messageGo to next message
Simeon Leyzerzon is currently offline Simeon LeyzerzonFriend
Messages: 24
Registered: July 2009
Junior Member
Rob,

From your explanation it sounds that what I'm trying to figure out is how
to easily replicate <b>only</b> Mylyn part of the Eclipse workspace
configuration from one place to another. Would it equate to something
like copying <workspace_path>\.metadata\.mylyn directory contents, or
something else to that effect???

Also, I was going under assumption that Mylyn context is a set of ALL open
tabs in the Java editor, seems that Mylyn context is actually a superset
of the open tabs (meaning not all of them could appear by default) and one
needs to, once context is retrieved from the repository, to add missing
tabs from the context to one's Java workbench. Could you please confirm
this observation?

Thanks in advance.
Simeon

Robert Elves wrote:


> A context holds a reference (path) to resources in your workspace.
> Assuming you have the same resources checked out into the second
> workspace *with the same project names* as in the 1st, then all files
> should be revealed upon activation in the 2nd workspace. If this is not
> the behavior you are seeing, please consider submitting a bug with steps
> to reproduce.

> Thanks,

> -Rob



> Simeon Leyzerzon wrote:
>> I'm trying to replicate a set of local tasks between 2 machines. Copied
>> the contents of the <workspace>/.metadata/.mylyn/contexts directory and
>> the <workspace>/.metadata/.mylyn/tasklist.xml.zip from one PC to
>> another, but when open the task on the other machine, they are missing
>> some jave files in the context. Is there a way to get the exact replica
>> of all the contexts from one machine to another?
>>
>> TIA,
>> Simeon
>>
Re: cloning tasks between machines [message #45700 is a reply to message #45577] Tue, 18 March 2008 03:43 Go to previous message
Eclipse UserFriend
Originally posted by: rob.elves.eclipse.org

Hi Simeon,

You can replicate by either copying the .mylyn directory or by exporting
your tasklist via File > Export > Mylyn > Task Data. In your
secondary workspace you can then import it.

A Mylyn task context is a set of all interaction with the UI. These
interactions are used to reconstitute your UI which you see in the form
of the most interesting (and recent) files opening in your editor and
interesting files being revealed in the Package Explorer. Depending on
your usage patters, things (files, classes, methods, etc) can become
less interesting and consequently hidden from view (and editors closed
if editor management is enabled). To temporarily reveal the hidden
elements, you can press the Alt key while clicking on a folder or class
of interest.


-Rob


Simeon Leyzerzon wrote:
> Rob,
>
> From your explanation it sounds that what I'm trying to figure out is
> how to easily replicate <b>only</b> Mylyn part of the Eclipse workspace
> configuration from one place to another. Would it equate to something
> like copying <workspace_path>\.metadata\.mylyn directory contents, or
> something else to that effect???
>
> Also, I was going under assumption that Mylyn context is a set of ALL
> open tabs in the Java editor, seems that Mylyn context is actually a
> superset of the open tabs (meaning not all of them could appear by
> default) and one needs to, once context is retrieved from the
> repository, to add missing tabs from the context to one's Java
> workbench. Could you please confirm this observation?
>
> Thanks in advance.
> Simeon
>
> Robert Elves wrote:
>
>
>> A context holds a reference (path) to resources in your workspace.
>> Assuming you have the same resources checked out into the second
>> workspace *with the same project names* as in the 1st, then all files
>> should be revealed upon activation in the 2nd workspace. If this is
>> not the behavior you are seeing, please consider submitting a bug with
>> steps to reproduce.
>
>> Thanks,
>
>> -Rob
>
>
>
>> Simeon Leyzerzon wrote:
>>> I'm trying to replicate a set of local tasks between 2 machines.
>>> Copied the contents of the <workspace>/.metadata/.mylyn/contexts
>>> directory and the <workspace>/.metadata/.mylyn/tasklist.xml.zip from
>>> one PC to another, but when open the task on the other machine, they
>>> are missing some jave files in the context. Is there a way to get
>>> the exact replica of all the contexts from one machine to another?
>>>
>>> TIA,
>>> Simeon
>>>
>
>
Re: cloning tasks between machines [message #588535 is a reply to message #45487] Thu, 13 March 2008 16:57 Go to previous message
Robert Elves is currently offline Robert ElvesFriend
Messages: 87
Registered: July 2009
Member
A context holds a reference (path) to resources in your workspace.
Assuming you have the same resources checked out into the second
workspace *with the same project names* as in the 1st, then all files
should be revealed upon activation in the 2nd workspace. If this is not
the behavior you are seeing, please consider submitting a bug with steps
to reproduce.

Thanks,

-Rob



Simeon Leyzerzon wrote:
> I'm trying to replicate a set of local tasks between 2 machines. Copied
> the contents of the <workspace>/.metadata/.mylyn/contexts directory and
> the <workspace>/.metadata/.mylyn/tasklist.xml.zip from one PC to
> another, but when open the task on the other machine, they are missing
> some jave files in the context. Is there a way to get the exact replica
> of all the contexts from one machine to another?
>
> TIA,
> Simeon
>
Re: cloning tasks between machines [message #588549 is a reply to message #45547] Thu, 13 March 2008 21:44 Go to previous message
Simeon Leyzerzon is currently offline Simeon LeyzerzonFriend
Messages: 24
Registered: July 2009
Junior Member
Rob,

From your explanation it sounds that what I'm trying to figure out is how
to easily replicate <b>only</b> Mylyn part of the Eclipse workspace
configuration from one place to another. Would it equate to something
like copying <workspace_path>\.metadata\.mylyn directory contents, or
something else to that effect???

Also, I was going under assumption that Mylyn context is a set of ALL open
tabs in the Java editor, seems that Mylyn context is actually a superset
of the open tabs (meaning not all of them could appear by default) and one
needs to, once context is retrieved from the repository, to add missing
tabs from the context to one's Java workbench. Could you please confirm
this observation?

Thanks in advance.
Simeon

Robert Elves wrote:


> A context holds a reference (path) to resources in your workspace.
> Assuming you have the same resources checked out into the second
> workspace *with the same project names* as in the 1st, then all files
> should be revealed upon activation in the 2nd workspace. If this is not
> the behavior you are seeing, please consider submitting a bug with steps
> to reproduce.

> Thanks,

> -Rob



> Simeon Leyzerzon wrote:
>> I'm trying to replicate a set of local tasks between 2 machines. Copied
>> the contents of the <workspace>/.metadata/.mylyn/contexts directory and
>> the <workspace>/.metadata/.mylyn/tasklist.xml.zip from one PC to
>> another, but when open the task on the other machine, they are missing
>> some jave files in the context. Is there a way to get the exact replica
>> of all the contexts from one machine to another?
>>
>> TIA,
>> Simeon
>>
Re: cloning tasks between machines [message #588585 is a reply to message #45577] Tue, 18 March 2008 03:43 Go to previous message
Robert Elves is currently offline Robert ElvesFriend
Messages: 87
Registered: July 2009
Member
Hi Simeon,

You can replicate by either copying the .mylyn directory or by exporting
your tasklist via File > Export > Mylyn > Task Data. In your
secondary workspace you can then import it.

A Mylyn task context is a set of all interaction with the UI. These
interactions are used to reconstitute your UI which you see in the form
of the most interesting (and recent) files opening in your editor and
interesting files being revealed in the Package Explorer. Depending on
your usage patters, things (files, classes, methods, etc) can become
less interesting and consequently hidden from view (and editors closed
if editor management is enabled). To temporarily reveal the hidden
elements, you can press the Alt key while clicking on a folder or class
of interest.


-Rob


Simeon Leyzerzon wrote:
> Rob,
>
> From your explanation it sounds that what I'm trying to figure out is
> how to easily replicate <b>only</b> Mylyn part of the Eclipse workspace
> configuration from one place to another. Would it equate to something
> like copying <workspace_path>\.metadata\.mylyn directory contents, or
> something else to that effect???
>
> Also, I was going under assumption that Mylyn context is a set of ALL
> open tabs in the Java editor, seems that Mylyn context is actually a
> superset of the open tabs (meaning not all of them could appear by
> default) and one needs to, once context is retrieved from the
> repository, to add missing tabs from the context to one's Java
> workbench. Could you please confirm this observation?
>
> Thanks in advance.
> Simeon
>
> Robert Elves wrote:
>
>
>> A context holds a reference (path) to resources in your workspace.
>> Assuming you have the same resources checked out into the second
>> workspace *with the same project names* as in the 1st, then all files
>> should be revealed upon activation in the 2nd workspace. If this is
>> not the behavior you are seeing, please consider submitting a bug with
>> steps to reproduce.
>
>> Thanks,
>
>> -Rob
>
>
>
>> Simeon Leyzerzon wrote:
>>> I'm trying to replicate a set of local tasks between 2 machines.
>>> Copied the contents of the <workspace>/.metadata/.mylyn/contexts
>>> directory and the <workspace>/.metadata/.mylyn/tasklist.xml.zip from
>>> one PC to another, but when open the task on the other machine, they
>>> are missing some jave files in the context. Is there a way to get
>>> the exact replica of all the contexts from one machine to another?
>>>
>>> TIA,
>>> Simeon
>>>
>
>
Previous Topic:Closing editors warning
Next Topic:Mylyn 2.3.1?
Goto Forum:
  


Current Time: Tue Dec 23 01:04:26 GMT 2014

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

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