Home » Eclipse Projects » Mylyn » cloning tasks between machines
cloning tasks between machines [message #45487] |
Thu, 13 March 2008 12:24  |
Eclipse User |
|
|
|
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 17:44   |
Eclipse User |
|
|
|
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] |
Mon, 17 March 2008 23:43  |
Eclipse User |
|
|
|
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 12:57  |
Eclipse User |
|
|
|
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 17:44  |
Eclipse User |
|
|
|
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] |
Mon, 17 March 2008 23:43  |
Eclipse User |
|
|
|
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
>>>
>
>
|
|
|
Goto Forum:
Current Time: Tue May 13 05:18:09 EDT 2025
Powered by FUDForum. Page generated in 0.28167 seconds
|