Save your local Mylyn tasks

If you are using Eclipse you properly using Mylyn. I recently got a new machine and wanted to migrate my local Mylyn tasks from one computer to another.

Local tasks stored in your workspace in .metadata/mylyn/tasks.xml.zip. The context for local tasks stored in .metadata/.mylyn/contexts… look for files labeled local-X.xml.zip, these have the context. You can back up the entire Mylyn data directory and put it into the same place on your new computer.

Worked well for me!

Thanks to David Shepherd for the tip via twitter.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of vogella.com. With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Eclipse and tagged . Bookmark the permalink.

4 Responses to Save your local Mylyn tasks

  1. ekke says:

    I’m always changing the location of Mylyn task data
    Preferences – Mylyn – Tasks – Advanced
    then its easy to share between workspaces or moving to other pcs etc.
    see http://yfrog.com/evuvkp

    but its not really multi-user ;-) so some attention if 2 workspaces are using same data at same time

    ekke

  2. Lars Vogel says:

    @Ekke: Thanks, Steffen Pingel informed me also about this and I’m in process of preparing a blog entry about it.

  3. One of the examples included with the industrial SQL connector for Mylyn is a Derby Task Repository running locally using either the embedded or the shared driver. An advantage of using this over the standard local one is that you can set up your own fields and that it supports attachments. Check it out on:
    http://code.google.com/a/eclipselabs.org/p/industrial-mylyn/

    You can run this shared between workspaces without problems.

  4. Another simple solution is to use some free hosted bugs repository + mylyn connector (e.g. FogBugz for Students/Startups edition where you have 2 users for free + Foglyn connector which is also free for this FogBugz edition).

Comments are closed.